JuanTejedor106 downloadsA maintained fork of Pandoc Reference List. Shows a formatted reference in the sidebar for each pandoc citekey in the current document.
An Obsidian plugin that turns Pandoc citations in your notes into formatted references. Write [@smith2020] and the plugin shows "(Smith, 2020)" in your text and the full reference in the sidebar, in the citation style you choose (APA, Chicago, Vancouver and thousands more).
It is a maintained fork of Pandoc Reference List by Matthew Meyers, which is no longer maintained.
[@smith2020], [@smith2020, p. 14] or @smith2020 says that.... The part after the @ is the citation key of a reference.The plugin needs to know where your references are; you pick one of two sources in the plugin settings: Zotero or Better BibTeX.
Every reference in Zotero has a Citation Key. Other tools use the same key, such as the Zotero Integration plugin for Obsidian, so what you insert from there matches what this plugin reads. If you use Better BibTeX, it fills in that field for you.
The plugin reads your library straight from the Zotero app running on your computer. No extra Zotero add-on is needed.
To set it up:
Keep these in mind:
If the direct connection to Zotero is not available, the plugin can ask Better BibTeX (a Zotero add-on) for your library instead. In the settings, set "Zotero data source" to "Better BibTeX". The default, "Automatic", tries Zotero first and falls back to Better BibTeX by itself.
Set "Path to bibliography file" to a bibliography file that Pandoc can read (.bib, .json, .yaml and so on). In this case Pandoc must be installed (version 2.11 or newer), because the plugin uses it to read the file. You can also set bibliography in a note's frontmatter to use a different file for that note.
You do not need to do anything when you add a reference in Zotero. The plugin checks for changes:
@ and the suggestions openA check is very cheap: the plugin only downloads what changed, so it stays fast even with a large library.
The first time you turn the plugin on, it imports your whole Zotero library. With a big library this takes a few seconds and a message shows the progress. It happens once; after that only changes are downloaded.
To start quickly and keep working when Zotero is closed, the plugin keeps a copy of your reference list, called the cache. It is stored on your computer, outside your vault, so it is not synced between your devices:
| System | Location |
|---|---|
| Windows | %LOCALAPPDATA%\better-pandoc-reference-list\ |
| macOS | ~/Library/Caches/better-pandoc-reference-list/ |
| Linux | ~/.cache/better-pandoc-reference-list/ |
Each device builds its own cache. You can delete it safely; the plugin will import your library again. The downloaded citation styles and languages are kept in a hidden .pandoc folder inside your vault.
@ icon in the status bar (bottom right of Obsidian) turns to a warning colour; hover over it to see why.Open the command palette (Ctrl/Cmd + P):
@ status bar menu.Start Zotero. The plugin reconnects by itself.
If you used the original plugin, turn it off before using this one, because running both formats every citation twice. The settings are not shared between the two, so copy your choices over once.
Based on obsidian-pandoc-reference-list by Matthew Meyers, released under the GNU GPL v3. This fork keeps that license.
