westerngua183 downloadsZotero citation management with Word export via Pandoc.
Manage Zotero citations in Obsidian with footnote/endnote modes, Word-style display, and one-click export to Word with formatted footnotes.
^[citation text]), endnote mode ([^1] + endnote definitions), and in-text mode (plain-text author-year citations).docx via Pandoc; footnote/endnote modes preserve note structure, while in-text mode exports citations as plain paragraph text| Component | Description |
|---|---|
| Obsidian Desktop 1.5.7+ | Desktop-only plugin (isDesktopOnly: true) |
| Zotero | Reference manager; should be running |
| Better BibTeX | Zotero plugin that provides the API layer |
| Pandoc (optional) | Required only for Word export |
main.js — plugin runtimemanifest.json — plugin manifeststyles.css — plugin styles.obsidian/plugins/zotero-citations/ directory (create it if it does not exist)This version has been developed and tested primarily on macOS. Linux and Windows have not yet been fully validated, so UI rendering, window focus behavior, native dialogs, and export-related workflows may behave differently and are not guaranteed to be perfectly compatible at this stage.
127.0.0.1; it does not rely on a plugin-operated remote server.pandoc executable; for database fallback parsing it may invoke the local sqlite3 executable; on macOS it may invoke the system osascript command to return focus to Obsidian after the Zotero picker closes.Search for Insert citation in the command palette, or click the citation icon in the title bar.
The plugin will first try to open Zotero's native citation picker — search for items, add a page number or other locator, and confirm with the checkmark button.
Inserted citations follow your current citation mode setting (footnote, endnote, or in-text).
Note:
- The plugin writes hidden metadata (
<!-- zotero:ITEMKEY:locator -->) at the beginning of each note. Do not remove it manually, or the plugin will not be able to track the citation.- When you are ready to finalize, run
Unlink citations(irreversible) to strip the hidden metadata while keeping the visible citation text.

With Word-style footnote display enabled, hover over a superscript number to preview the full citation and edit the page/paragraph locator directly:

Run Document preferences to open the preferences panel. The plugin dynamically reads all CSL styles installed in your Zotero and presents them in a searchable list. Pick a style, optionally switch between footnote/endnote/in-text mode, and apply the change to all citations in the current document at once:

Run Insert bibliography to generate a formatted reference list at the cursor position. The bibliography is also preserved when exporting to Word.

Check whether Pandoc is available first to confirm Pandoc is working.Export to Word (.docx).In footnote/endnote mode, the exported Word document keeps properly formatted notes. In in-text mode, citations are exported as plain author-year text in the main paragraph. Body text is SimSun 12pt, 1.5 line spacing, justified alignment, first-line indent, and headings in SimHei.



| Setting | Description |
|---|---|
| Interface language | Chinese / English |
| Default CSL style | Format used for newly inserted citations |
| Citation mode | Footnote / Endnote / In-text |
| Word-style footnote display | Superscript numbers + hover preview |
| Title bar buttons | Master toggle + 6 individual toggles (Insert citation, Toggle Word-style footnote display, Refresh all citations, Change citation style, Unlink citations, Export to Word), each controllable independently in settings |
| Pandoc path | Defaults to pandoc; accepts full paths |
| Extra Pandoc arguments | e.g. --reference-doc=template.docx |
| Fixed export directory | If unset, prompts for output location each time |
| Default export directory | Shown only when fixed export directory is enabled; if blank, uses the current note's folder |
The plugin provides the following commands; you can search for them directly by name in the command palette:
| Command | Description |
|---|---|
| Insert citation | Open the Zotero citation picker |
| Insert bibliography | Generate a reference list at the cursor |
| Refresh all citations | Re-fetch item data from Zotero and update |
| Document preferences | Switch CSL style and citation mode |
| Export to Word (.docx) | Convert to Word via Pandoc |
| Unlink citations | Remove plugin metadata (irreversible) |
| Toggle Word-style footnote display | Enable/disable superscript markers |
| Toggle title bar actions | Show/hide the title bar icons |
| Check whether Pandoc is available | Verify Pandoc installation |
MIT