Description
Live typeset PDF preview and LaTeX export for academic writing.
Additional Information
| Links: | |
|---|---|
| Maintainers: | wernerbhertzog |
| Version: | 0.23.0 |
| Minimum app version: | 3.3 |
| Downloads: This version: | 1 |
| Last updated: | 2026-12-03T16:59:49Z |
Joplin Scholar
![]()
A desktop Joplin plugin for writing academic papers in Markdown. Scholar builds a live, typeset PDF preview as you write and can export PDF or LaTeX using Pandoc and a LaTeX engine installed on your computer.
Scholar supports abstracts; authors and affiliations; footnotes; captioned figures and tables; contents, figure and table lists; Pandoc citations; Zotero integration; and bundled citation styles. The preview supports text selection, zoom, and opening a snapshot in your default PDF viewer.
Install and set up
- Install Joplin Desktop 3.3 or later, Pandoc, and a LaTeX distribution that supplies
xelatex(such as MacTeX, TeX Live, or MiKTeX). You can set executable paths in Settings → Joplin Scholar if they are not found. On macOS Homebrew users can install Pandoc withbrew install pandoc. - If Joplin Scholar is available in Joplin's plugin directory, search for it under Settings → Plugins, install it, and restart Joplin. Alternatively, download
joplin-scholar.jplfrom the latest GitHub release, then use Settings → Plugins → Plugin tools → Install from file. Quit and restart Joplin. - Select a note. Use the Toggle Joplin Scholar logo button in the note toolbar to open or hide the panel. The same command is available through View → Toggle Joplin Scholar. Use View → Change application layout to move the panel next to your editor.
- Pause after editing for the preview to rebuild. Refresh forces a rebuild. Scroll normally to move through the paper. Hold Shift while scrolling to zoom, or use the minus and plus buttons; click the percentage to return to fit-to-width. The preview scales immediately and sharpens nearby pages in the background. You can select and copy the PDF's text and click internal links, including table-of-contents entries and cross-references, to jump within the preview. Use Open PDF for external web links. Errors appear in the panel and the last successful preview for that note remains visible.
Open PDF opens a temporary snapshot of the current preview in the system's default PDF viewer. A snapshot does not update as you edit; open it again for a newer preview. Use Export → PDF or Export → LaTeX to save a permanent export. Scholar asks for a parent folder, then creates a new, uniquely named paper folder inside it. Each LaTeX export includes any Joplin image attachments it references in an assets folder. Compile the exported .tex from the folder containing the .tex file. Exports never overwrite an existing folder.
Export → Submission ZIP creates an Overleaf-ready archive containing the generated .tex, local image assets, and the Springer class file when configured. Upload the ZIP as a new Overleaf project and select XeLaTeX. Other LaTeX packages and custom classes must be available in that environment. Citations are already rendered by Pandoc: this is not an editable BibTeX/BibLaTeX project or a guarantee of journal compliance. Check the output and the journal's requirements before submission.
Multi-note paper projects
Keep the main paper in one Joplin note. In its Markdown editor, place the cursor where a section should appear, open Project, paste the other note's Joplin link or ID, and click Insert note. The note contains a visible marker like {{include-note:0123456789abcdef0123456789abcdef}}. Move markers to reorder sections. Preview and exports assemble the source notes in that order; the originals are never changed. Included notes may themselves include notes. Circular references and missing notes produce errors. The main note supplies document metadata; YAML at the start of included notes is omitted. Images in included notes must be available locally.
The Cite picker currently lists targets in the main note, not included notes. Add labels and references in the relevant Markdown notes manually. Refresh the preview after changing an included note elsewhere. Project markers require Joplin to resolve note IDs; a plain Markdown export alone does not contain the included notes.
Click Detach and then Open Scholar window in your browser to move the live preview and its controls into a separate, resizable window, for example on another monitor. Allow pop-ups for the local page if your browser blocks it. The preview continues to update after you edit or switch notes in Joplin. Click Return to Joplin, or close the preview window, to restore the panel. The temporary connection stays on your computer and closes when the preview closes; the browser window uses its own default colours rather than Joplin's theme. The first browser tab can be closed after the preview window opens.
Try the example paper
Select a notebook and click Example paper in the Scholar panel. Scholar creates and opens a new note in that notebook, with a real image attachment. The paper explains and demonstrates authors, an abstract, contents lists, figures and tables, landscape tables and page breaks, math and equation references, footnotes, review comments, citations, bibliography styles, the preview, and export. Explore its Markdown beside the PDF preview, then edit your copy. Enable Document options → Show comments in PDF margins to see the example's highlighted passage and margin notes; this option is off by default. Clicking the button again creates another independent copy; existing notes are never overwritten. The example is also available as Markdown, its image, and a sample PDF with review comments enabled. When using the Markdown outside the button, import the image as a Joplin attachment and replace its relative image path with Joplin's attachment link.
The example includes inline reference records and an explicit empty bibliography: [] in its YAML. Those records make the example self-contained, so Zotero is not required to preview it. If you add a citation that is not embedded, Scholar can retrieve the missing reference from Zotero or a configured bibliography file. A working Pandoc and LaTeX installation is still required for the PDF preview.
Document styles
Choose Document style above the preview. The selection applies to the PDF preview, PDF export, and LaTeX export, and is saved with the selected note as Joplin user data. It syncs with the note but is not included in a plain Markdown export. Default / note settings preserves Pandoc's normal defaults and the note's own metadata. The other presets provide starting points:
| Preset | Layout |
|---|---|
| Standard article | Article, 11 pt, 1-inch margins, 1.15 line spacing |
| Double-spaced manuscript | Article, 12 pt, 1-inch margins, double spacing |
| Compact article | Article, 10 pt, 0.75-inch margins, single spacing |
| Report | Report class, 11 pt, 1-inch margins, 1.15 line spacing; top-level headings become chapters |
| Standard book | book, 11 pt |
| KOMA-Script book | scrbook, 11 pt |
| KOMA-Script report | scrreprt, 11 pt |
| Memoir book | memoir, 11 pt |
| ClassicThesis | scrbook with the classicthesis package |
| Tufte book | tufte-book, with Pandoc citation processing |
| KOMA-Script article | scrartcl, 11 pt |
| APA 7 manuscript | apa7 manuscript mode |
| Elsevier article | elsarticle preprint mode |
| IEEE journal article | IEEEtran journal mode |
| ACM manuscript | acmart manuscript mode, with publisher branding disabled |
| REVTeX physics manuscript | revtex4-2 APS preprint mode |
| Springer Nature journal | sn-jnl basic journal style |
The publisher-style choices use the actual LaTeX classes and adapt Scholar's authors and abstract to their title-page commands. They are starting points for drafting, not a guarantee of submission compliance: journals and conferences may require additional metadata, country fields, class options, source files or a different bibliography workflow. For example, the ACM preview does not invent an author's country or conference details. Check the target venue's current instructions. Citation style remains a separate choice; selecting a publisher layout does not automatically select or enforce its citation rules.
The book and report presets turn top-level Markdown headings into chapters. An Abstract heading is typeset as an unnumbered chapter where the book class has no abstract environment. ClassicThesis uses the actual package with Pandoc's fonts instead of requiring the template's own fonts; Tufte disables its letterspacing and built-in bibliography to support Scholar's authors and citations. These are drafting layouts, not complete university-specific thesis templates. They require the corresponding TeX packages to be installed; exported LaTeX also requires those packages.
Install the corresponding class in your TeX distribution if it is missing. Springer Nature's sn-jnl.cls is not part of many TeX installations: download the official journal article template, unzip it, and set Springer Nature class file in Scholar settings to the extracted sn-jnl.cls. Alternatively, install the class in your TeX search path. Scholar copies this class alongside an exported .tex so the export can compile independently of the original path. Springer Nature's class files remain subject to their own terms.
IEEE journal mode uses two columns, while Pandoc's multipage tables require one column: Scholar places tables on full-width single-column pages, then resumes the two-column layout. Put IEEE tables outside lists and block quotes. Other classes use their own layouts and may move figures or tables according to LaTeX's normal float rules.
To customise a paper, add Pandoc YAML fields such as documentclass, classoption, fontsize, geometry, or linestretch to the note: explicit YAML fields take precedence over the corresponding preset values. If the note sets any individual margin field (such as margin-left), the preset's margins are omitted so Pandoc can apply the note's margin settings. A different YAML documentclass bypasses the selected publisher adapter. A configured custom Pandoc LaTeX template takes precedence over Scholar's publisher adapters and may ignore selected layout settings; ensure that template supports the chosen class and author metadata.
Document options
Open Document options for the current note to choose continuous line numbers, affiliations below the authors or at the end, line spacing, section numbering, and A4 or US Letter paper. Each defaults to the selected document style. Changes apply to the preview, PDF, and LaTeX exports and are saved as Joplin user data with the note, not in plain Markdown exports. An explicit linestretch, numbersections, or papersize in YAML takes precedence over the corresponding option. Line numbering requires the lineno TeX package.
Review comments in the margins
Use Show comments in PDF margins in Document options to include review notes next to the text in the preview, PDF, LaTeX and submission exports. It is off by default and saved per note. Turn it off before creating a clean submission. Comment text is part of the source and visible to anyone who can read it; it is not a private message or a threaded comment.
To attach a comment to a passage, select plain text on a single source line in Joplin's Markdown editor, choose Add comment in the Scholar toolbar, enter the note and choose Add comment. Scholar keeps the text in the note, inserts standard HTML comments around it to identify the selection, and stores your note in another HTML comment. It enables margin comments for that paper, so the selected words are highlighted in the preview and the comment appears in the margin. Turn the option off to hide the highlight and notes in a clean PDF. Currently this action does not support rich-text mode, multiple lines, or selections containing Markdown formatting. Keep the markers around the text when editing it; the note is still visible in the Markdown source.
The toolbar shows icons by default. In Joplin's Settings → Joplin Scholar → Toolbar buttons, choose Text labels to restore text buttons. Icons have labels on hover and for screen readers.
Write a comment in either GitHub-compatible HTML syntax or an R Markdown knitr comment block:
This claim needs a source. <!-- Find the original study. -->
This sentence needs work. ```{comment} Finish this paragraph.```
```{comment}
Ask a coauthor to check this interpretation.
```
Both kinds are hidden in the PDF and LaTeX when the option is off. The one-line triple-backtick form is a Joplin Scholar extension, not standard knitr syntax. No R installation is needed. Comment contents are treated as plain text, not as Markdown or executable code. Review mode requires the LaTeX todonotes package; highlighted passages also require soul. Install these through your TeX distribution if needed. Comments inside footnotes or tables appear just after the containing footnote or table. Margin notes have limited space, and very long or closely spaced comments may overlap or run outside the page. When using a custom template, it must include Pandoc's header-includes for the required packages to load. Examples inside code blocks remain code examples.
Most publisher-specific classes and custom templates control their author layout. For these, leave affiliation placement at Style default; switch to a general style to place affiliations at the end. The ACM class also controls line spacing. Publisher templates can impose other layout requirements, so inspect the result and follow the journal's instructions.
Document metadata and authors
Open Document metadata in the Scholar toolbar to edit the title, subtitle, date, keywords, authors and affiliations. Enter each keyword or phrase on its own line; saving writes a YAML list, and Scholar prints the keywords near the abstract using the selected style. When the YAML has no keywords or tags field, the paper uses the selected Joplin note's tags as its keywords by default. The metadata editor shows which source it is using. Changing the keywords in the editor saves them as keywords in the note's YAML and overrides the note tags; clearing the field saves keywords: [] to show none. Remove the YAML field to use the note tags again. YAML tags also provide a fallback when keywords is absent, and an explicit keywords field always takes precedence. For multi-note papers, only the main note's tags are used. Note tags themselves are not changed or copied into the YAML automatically.
The keyword list is also passed to Pandoc for PDF metadata; the ACM class may omit PDF keyword properties with some TeX distributions. If you already typed a separate keywords line in the note, remove it to avoid displaying both. A custom Pandoc template controls its own keyword placement and must explicitly render keywords.
The title field shows the Joplin note title by default; if you change it and save, the new document title is written to YAML without renaming the note. Clearing the document title returns to the note-title default. Use Full YAML to edit other fields, including abstracts, bibliographies, inline references and custom metadata. Click Save metadata to write the changes into the YAML at the start of the note. Existing unrelated metadata and comments are preserved where possible; inspect the YAML after complex edits. The default note title remains linked to the note and is not copied into YAML unless you edit it.
The panel displays an estimated word count. Click it for character counts with and without spaces and a description of the rules. Scholar counts prose, abstracts and footnotes, including included project notes; it excludes headings, captions, images, tables, citations, equations, code and reference sections titled References, Bibliography or Works Cited. Character counts include punctuation and use normalized spaces; they count Unicode characters as user-perceived graphemes. Manually typed citations or reference lists with different headings may be counted as prose. Count conventions vary by journal and can differ from Overleaf or word processors.
Select Show word count in document in Document options to print the count near the title or abstract. Like the other document options, this choice is saved with the Joplin note rather than inserted in its YAML; a plain Markdown export does not include the choice. Notes with the earlier scholar-show-word-count YAML field retain that setting until changed in Document options. LaTeX exports contain the number calculated at export time and must be regenerated after external edits. Custom Pandoc templates cannot currently print the count; turn off the checkbox or use a built-in style. The panel count uses Pandoc and remains available if the PDF build fails.
Add each author in order, with one affiliation per line. Shared affiliations receive the same number in the PDF. Use the arrows to change author order, select any corresponding authors, and enter their emails if desired. You can also specify author and affiliation URLs or author notes. The PDF and generated .tex use the selected document style's author commands. A custom Pandoc template must render the author variable, and journal-specific templates may require further adjustment.
The same data can be edited directly as Pandoc or R Markdown YAML at the very start of the note:
---
title: My paper
keywords:
- language contact
- numeral change
author:
- name: Alice Smith
affiliations:
- Example University
- Research Institute
email: alice@example.org
corresponding: true
- name: Bob Jones
affiliation: Example University
---
Both author and authors are accepted. A single author can be a string, or authors can be a list of strings or detailed records. R Markdown title footnotes work, for example author: Jane Doe^[Example University, jane@example.org]. Detailed records also accept R Markdown's url and affiliation_url fields as links; when an author has multiple affiliations, affiliation_url applies to the first. An email is shown as the corresponding author's contact when corresponding: true is set. Title footnote contents are treated as plain text. The plugin reads these metadata fields; it does not run R or apply R Markdown's output setting. A frontmatter title is used for the paper title; otherwise Scholar uses the Joplin note title.
Authors previously saved by older versions are shown in the panel. Saving metadata copies them into the note's YAML; until then, existing saved authors remain available to previews and exports. Save metadata while the note is open in Joplin's Markdown editor: Scholar checks the live editor before changing its front matter so unsaved writing is not overwritten. If the note is still being saved, wait and try again. If metadata changes elsewhere while you have a panel draft, copy the draft and use Reload metadata before saving. Edits to the same field in both the guided fields and Full YAML must be saved one at a time. Switching to the rich-text editor may alter YAML.
Joplin's own note properties, including its internal author, note timestamps, tags, and source URL, are separate from Scholar's paper metadata. Aside from using note tags as the default paper keywords described above, Scholar does not automatically synchronize them with YAML. Joplin's Markdown with Front Matter importer/exporter uses some of the same field names for note properties, and its importer ignores unsupported fields. Do not assume a round trip through that format will preserve all Scholar metadata; keep a copy of your original note and check the imported result.
Footnotes
In the Scholar toolbar, open Footnote, enter its text, and click Copy footnote. Paste the copied text in your note at the point where you want the footnote number. The note contains a readable marker such as {{fn: A source or comment.}}; Scholar converts it into a numbered LaTeX footnote in the preview and exports. The marker can also be typed or edited directly in the rich-text or Markdown editor. The copy tool supports a single paragraph of text without braces.
GitHub-style and Pandoc footnotes are also supported in the Markdown editor:
A claim with a footnote.[^source]
[^source]: Details about the source.
Pandoc also supports ^[An inline note.]. Reusing the same reference label produces a separate numbered LaTeX footnote at each occurrence. Joplin's rich-text editor may alter standard Markdown footnote markup when it saves a note, so the Scholar marker is preferable when switching editors. Markers in code blocks and inline code are kept as literal text.
Abstract
Add a heading named Abstract in either Joplin editor, followed by the abstract text. In Markdown, for example:
## Abstract
This paper examines …
## Introduction
Scholar converts the first such heading and the text after it into a LaTeX abstract, stopping at the next heading or a table-of-contents marker. Formatting, mathematics, and citations inside the abstract are processed normally. This affects Scholar's preview and exports; the note itself remains ordinary Joplin Markdown. Custom LaTeX templates must provide an abstract environment.
Nested lists
Markdown bullet and numbered lists can be nested up to 20 levels in the preview and exports. For lists deeper than four levels, Scholar uses the LaTeX enumitem package, normally included in a full LaTeX installation. Exported LaTeX for these notes includes the same list configuration. Very deep outlines have less room for text on each line.
Mathematics and equation references
Use dollar signs or TeX delimiters for inline and displayed mathematics:
The energy is $E = mc^2$ or \(E = mc^2\).
\[
E = mc^2
\]
For numbered equations and references, Scholar accepts bookdown-style labels and references in the Markdown editor:
As shown in equation \@ref(eq:energy), mass and energy are related.
\begin{equation}
E = mc^2 (\#eq:energy)
\end{equation}
The label may also appear inside a $$ ... $$ display; Scholar numbers that display when a label is present. References become LaTeX \eqref commands, so the number is in parentheses and updates automatically. Each label must be unique and every reference must have a matching numbered equation; Scholar reports missing or duplicate labels in the preview. Code examples remain literal. The preview and PDF resolve references automatically; when compiling an exported .tex file, run LaTeX at least twice. The syntax is processed by Scholar and Pandoc without running R. Custom LaTeX templates need the amsmath package for \eqref. Joplin's rich-text editor may alter mathematical markup, so use its Markdown editor when writing equations. With TeX delimiters enabled, \( and \[ start math rather than represent literal escaped punctuation.
Table of contents
Put [toc] on a line by itself where you want the table of contents. Joplin Scholar also accepts Joplin's [[toc]], [[_toc_]], and ${toc} variants. The preview and exported PDF list the document headings. LaTeX exports include the table of contents in the same position; compiling the .tex may require two LaTeX runs to populate its entries. Markers in code blocks remain literal.
Figures and tables
Use Joplin's table tool or write a Markdown pipe table in the note. Add a caption using the Pandoc syntax shown below.
Attach or paste an image in Joplin. In the Markdown editor, put the image on its own, with a blank line before and after, and write its caption inside the brackets. Keep the attachment ID Joplin generated:

Pandoc turns this into a numbered figure with a caption. The bracket text also serves as the image's default alternative text; Pandoc supports a separate alt attribute if needed. Scholar copies attached images into the exported LaTeX folder. The attachment must be downloaded on this computer.
Pandoc pipe tables can have a caption immediately before or after the table:
| Year | Value |
|------|------:|
| 2024 | 10 |
Table: Observed values
Put [lof] and [lot] on their own lines where you want the list of figures and list of tables. These lists include captioned figures and tables, and are separate from [toc]. Scholar renders them in the preview and PDF; an exported .tex file may require multiple LaTeX runs to populate them. Keep Pandoc syntax in the Markdown editor: Joplin's rich-text editor may change captions, list markers, and table formatting.
Page breaks and landscape tables
In the Markdown editor, place the cursor where a new page should start and choose Page layout → Insert page break. Scholar inserts [pagebreak] on its own line; it begins a new PDF page after placing any pending figures. You can also type the marker yourself. Markers in code blocks remain literal.
For a wide table, place the cursor in the table or its Table: caption and choose Page layout → Fit table on landscape page. Scholar wraps that table in a landscape-table block. It starts a landscape page, fits the caption and table together, and returns to portrait afterward. Scholar also recognizes an adjacent manually numbered caption such as Table 2. ..., including captions outside blocks created by earlier versions; it keeps the original numbering without changing the note. Captions, cross-references, citations, and footnotes continue to work. For very large tables the text may be too small to read; consider splitting the table or allowing it to span pages without the landscape block. To undo the layout, remove the two surrounding marker lines. Keep one table and its caption inside each block:
::: {.landscape-table}
| Method | Region | Result |
|:-------|:-------|:-------|
| Survey | Europe | Complete |
Table: Study methods. {#tab:methods}
:::
Landscape pages require the LaTeX pdflscape, adjustbox, booktabs, array, calc, and (when a caption command is not already defined) capt-of packages. A custom LaTeX template must include Pandoc's header-includes. The exported .tex contains the required packages and formatted table. The block is a Scholar-specific convention and may render differently outside Scholar.
REVTeX uses its own rotated table float instead of pdflscape. With XeLaTeX, the PDF viewer displays that table's page in landscape; other PDF engines may display the table sideways on a portrait page. REVTeX can move the table according to its float-placement rules.
Pandoc normally sizes short pipe tables to their contents. For wide pipe tables, its reader uses the relative lengths of the separator row's dashes as column widths. To set approximate proportions yourself, make that row longer than 72 characters and use a different number of dashes in each column, for example:
| Term | Description |
|:-----------------------|:-------------------------------------------------------|
| One | A longer description |
The separator above requests approximately 30% and 70% widths. This is a Pandoc extension to Markdown, not a Joplin table-width control. Table formatting tools may rewrite the separator, and the rich-text editor may discard special Markdown; check the preview after editing.
Automatic references to figures, tables and sections
To insert a reference without typing the syntax, place the cursor in Joplin's Markdown editor, click Cite, choose Section, Figure, or Table, and select an item from the list. Items are listed in their order in the note. Scholar adds a stable label when needed and inserts the reference at the cursor in one undoable change. Unavailable categories are disabled. If a section needs numbering, Scholar enables it in Document options; an explicit numbersections: false in YAML must be changed first. Unnumbered headings cannot be referenced by number. If an image or table has no caption, Scholar adds a placeholder caption: edit it to describe the item.
You can also give each target a unique label and type a reference where its number should appear:
See Figure \@ref(fig:growth), Table \@ref(tab:values), and Section \@ref(sec:results).
# Results {#sec:results}
{#fig:growth}
| Year | Value |
|------|------:|
| 2024 | 10 |
Table: Observed values {#tab:values}
Write the word “Figure”, “Table”, or “Section” yourself; \@ref(...) supplies the number. Add {#fig:...} after a standalone captioned image, {#tab:...} at the end of a table caption, and {#sec:...} after a heading. Use distinct labels containing letters, numbers, hyphens, underscores, colons or slashes. If the target is missing or a label is duplicated, Scholar reports an error in the preview. Figure labels require an image with a caption on its own line. Section references require numbered headings: enable Section numbering in Document options, or add numbersections: true to the note's YAML. Headings marked unnumbered or outside the selected numbering depth cannot be referenced by number.
References update automatically in the preview and PDF when targets move. In Scholar's standard templates, the reference number is also a clickable link to its target. Exported LaTeX contains \label and \ref commands; run LaTeX at least twice to resolve the numbers. Custom LaTeX templates need to support internal hyperlinks, normally with hyperref. When a target already has a non-Scholar identifier, the picker preserves it and uses \@ref(fig-id:...), \@ref(tab-id:...), or \@ref(sec-id:...) as appropriate. As with other specialised Markdown, use Joplin's Markdown editor and check the preview after switching editors. This syntax is compatible with Scholar's existing bookdown-style equation references and does not require R or an extra Pandoc filter.
LaTeX may move figures to a later page when they do not fit. If pending figures appear after the references, put \clearpage on its own line immediately before the references heading in the Markdown editor; LaTeX will place the waiting figures before starting the references on a new page.
Choosing citations from Zotero
- Install Better BibTeX for Zotero and keep Zotero open.
- In Settings → Joplin Scholar → Bibliography source, select Zotero directly. If the setting is Automatic, Scholar uses an existing bibliography file or note metadata first, then Zotero if neither is set.
- Place the cursor in Joplin's Markdown editor, open Cite in Scholar, and click From Zotero. In Zotero’s picker, search and choose one or more sources; locators such as page numbers are supported. Scholar inserts the citation at the cursor. Add a
## Referencesheading at the end if you want to label the list. - Scholar retrieves the cited items from Zotero locally and generates the reference list in the PDF, including any references embedded in the note. Choose a citation style from the visible Citation style dropdown. Click Refresh after editing records in Zotero.
The picker and reference lookup communicate with Zotero's Better BibTeX service on this computer. Cancelling does not change the note or clipboard. If the note or cursor changes while the Zotero picker is open, Scholar leaves the note untouched and offers the citation to copy instead. In direct mode, Scholar looks up the cited keys in My Library; a numeric library ID can be entered in settings to use one group library instead. Citations from multiple libraries in the same document and nocite: @* are not supported in direct mode; use a bibliography file for those cases. Joplin’s rich-text editor may alter Pandoc citation syntax, so use the Markdown editor to insert citations and cross-references.
After changing an item in Zotero, use Cite → Refresh references to rebuild the preview. Scholar warns when it detects an escaped citation that Joplin's rich-text editor may have changed. It does not automatically rewrite the note or guarantee that every specialised Markdown construct survives switching editors; inspect the Markdown and keep a backup before switching.
Academic references
Choose a style from Citation style above the preview. The plugin bundles APA 6 and 7, MLA, Chicago, Harvard, IEEE, NLM/Vancouver, AMA, ACS, ASA, APSA, ACM, AIP, CSE, Nature, Science, Cell, NEJM, Bluebook, OSCOLA, and other styles; no download is needed. The selection is saved as Joplin note data and syncs with the note; it does not modify the Markdown text. Default / configured CSL uses the CSL path in Scholar settings, or Pandoc's default style if none is set.
As in R Markdown, a csl field in the note's YAML metadata overrides the panel selection. Use an absolute path to a .csl file, or one of Scholar's built-in names:
---
title: My paper
csl: apa
---
Built-in identifiers include apa, mla, chicago-author-date, chicago-notes-bibliography, harvard, ieee, vancouver, ama, and acs. Scholar's short names are a convenience specific to the plugin; for portability to R Markdown, provide a CSL file and a path that exists in the R Markdown project. The dropdown is disabled while a note's YAML contains csl; edit or remove that field to change it there. The bundled styles are from Citation Style Language, under CC BY-SA 3.0; authors and style metadata are included in each style.
Alternatively, provide a local .bib or CSL JSON bibliography under Settings → Joplin Scholar, or an absolute bibliography path in the note's YAML metadata. A bibliography file can be used without Zotero running; the file must contain the items you cite. Use Pandoc citation syntax such as [@smith2023]. The plugin also accepts a Pandoc-compatible LaTeX template. Scholar settings apply to all notes; a frontmatter title, if present, overrides the Joplin note title.
The generated bibliography appears under the first heading named References, Bibliography, or Works Cited, even when later sections contain citations. Without one of these headings, it appears at the end. To choose another location explicitly, use a Pandoc bibliography placeholder, ::: {#refs} followed by ::: on a separate line; this takes precedence over the heading. Scholar makes these placement choices during export and does not change your note.
Limitations
This prototype handles one selected note at a time. Joplin features such as links to other notes, diagrams, plugins, complex rich-text formatting, and citation entry are not automatically converted; verify the result. Imported HTML notes and some Joplin-specific Markdown may not convert correctly. Image attachments need to be downloaded locally. Older LaTeX installations may ignore image alt text; update your LaTeX packages if accessible image descriptions are required. Generated LaTeX is a starting point, not guaranteed to conform to a publisher's template. Citations are rendered by Pandoc rather than exported as editable BibLaTeX commands. Pandoc or the PDF engine may access the network for remote resources or packages depending on your configuration. Pandoc and TeX compilation process the contents of your note; only use trusted notes and templates.
Build
Building requires Node.js 20 or later, npm, and a tar command. From a checkout:
npm ci
npm test
npm run build
The installable plugin is publish/joplin-scholar.jpl, accompanied by publish/joplin-scholar.json for the Joplin plugin directory. The build generates src/styles/styles.json from the checked-in CSL files. Build outputs and dependencies are not committed.
The default tests cover plugin behavior and use a simulated Pandoc. To also run the real Pandoc and PDF integration tests on macOS with MacTeX, set SCHOLAR_TEST_PANDOC to the Pandoc executable before running npm test; those tests currently expect XeLaTeX at /Library/TeX/texbin/xelatex. To run the optional browser preview test, set SCHOLAR_TEST_BROWSER to a compatible Chromium executable. Both sets of tests are skipped when their respective environment variables are absent.
License
The plugin source is licensed under MIT. The bundled citation styles are licensed under CC BY-SA 3.0, with author and attribution details in each CSL file. The packaged plugin also includes licenses for PDF.js and YAML.