Replace the Obsidian Citations plugin with ZotLit
Replace Obsidian's broken Citations plugin with ZotLit, keep your @citekey literature notes and [[@…]] links, and translate your template.
Citations 0.4.5 (released 24 September 2022) does not start on Obsidian 1.15 because Obsidian no longer runs its older JavaScript format (issue #288). Each time Obsidian starts, it shows the notice "Failed to load plugin “obsidian-citation-plugin”". The last Obsidian release that runs Citations is 1.14.5. Your old literature notes are ordinary Markdown files, so nothing in this migration deletes or rewrites their text, and your [[@…]] links keep working. Install ZotLit, set its literature note folder and note name to match Citations (@ plus the citation key), link your old notes to Zotero, and let an AI agent with the ZotLit skills translate your template (or paste the ready-made profile below). Your [[@key]] links can count as citations once you turn on two settings, or you can change them to Pandoc citations [@key] (Your [[@…]] links).
What you need
- Obsidian 1.15.1 or later (installer 1.13.4 or later).
- Zotero 9 or 10 on the same computer.
- Better BibTeX in Zotero. If it gave your papers their citation keys, you already have it.
- Citation keys that still match your old note names. Check one paper: its Citation Key field in Zotero must equal the old note name without the
@.
ZotLit reads your Zotero library directly. You no longer need an exported .bib or CSL JSON file, and you can stop running a "Keep updated" export.
What moves where
| In Citations | In ZotLit |
|---|---|
Exported .bib / CSL JSON file, Citation database path | Nothing to export. ZotLit reads Zotero directly. |
Literature note folder (default Reading notes) | In Settings > ZotLit, Literature note folder |
Title template @{{citekey}} | Note name template @{{ zt.citationKey }} |
| Content template (Handlebars) | The literature note template of your profile (Liquid). Properties go in the Properties tab, the note text in the Note tab. |
Open literature note (Ctrl+Shift+O) | In the Zotero library view: Write literature note / Open literature note; or ZotLit: Open literature note quick switcher |
Insert literature note link (Ctrl+Shift+E) | Type [[@ and pick the note (Obsidian's own link), or change the citation text so [@ inserts [[@key]] (see Insert [[@citekey]] with [@) |
| Insert Markdown citation | Type [@ and pick the paper: inserts [@key] |
| Insert literature note content in the current pane | No equivalent. Use ZotLit: Update literature note on a linked note to fill its properties. |
| Refresh citation database | Not needed. |
Move your workflow to ZotLit
Save your old template
Because Citations no longer loads on Obsidian 1.15, its settings tab is gone, and uninstalling the plugin deletes its folder. Copy your template before removing Citations:
- Open your vault folder in Finder or File Explorer and open
.obsidian/plugins/obsidian-citation-plugin/data.jsonin a text editor. The.obsidianfolder is hidden; on macOS, pressCmd+Shift+.in Finder to show it. - Copy the text after
"literatureNoteContentTemplate":into a new note or a text file. Your old title template and folder sit in"literatureNoteTitleTemplate"and"literatureNoteFolder"in the same file. - In Obsidian, open Settings → Community plugins and turn off Citations. Until you do, the notice "Failed to load plugin “obsidian-citation-plugin”" comes back at each start.
Your old template text is now saved outside the Citations plugin folder.
Install ZotLit and connect Zotero
In Settings → Community plugins, search for ZotLit, install it, and turn it on. ZotLit finds your Zotero data folder on its own; see Install ZotLit if you need help connecting.
The Zotero library tab opens with your papers.
Use the same folder
Open Settings > ZotLit and set Literature note folder to your old Citations folder (default Reading notes).
ZotLit now creates new literature notes in that folder.
Use the same note names
In Settings > ZotLit, under Templates and properties, select Edit profile. The Template Workbench opens. Open the Name and folder tab, and replace the text in Note name template with @{{ zt.citationKey }}.
The preview under the field shows a path such as Reading notes/@rougierTenSimpleRules2014.md.
Leave {% suffix %} out of the note name. The built-in template ends in {% suffix %}, which adds random letters when a file name is already taken (for example, @ioannidis2005_PwaWya.md) and creates a second note beside your old one. Without it, [[@citekey]] links always find the one note.
Link your old notes to Zotero
ZotLit identifies a literature note by the property zotero-key, which holds the paper's Zotero item key (for example RUGIER24), not the citation key. Citations wrote no such property. Until a note has zotero-key, ZotLit does not see it: the Library View does not mark the paper Has a literature note, and when you ask ZotLit to write the note, it shows this notice: Failed to create literature note. To find the cause, turn on Write logs to file in Settings → ZotLit → Advanced, then try again. The cause is that the file name is already taken. Your old note stays unchanged.
One note by hand:
- Run ZotLit: Open template data explorer from the command palette.
- Select Choose item, search the title, and select the paper. Check that its Citation key matches your note name (two Zotero items can have the same title).
- Right-click the explorer's tab header and select Copy item key. A notice confirms Key copied.
- In the old note, add a property named
zotero-keyand paste the key.
At once, the paper shows Has a literature note in the Zotero library view, and ZotLit opens this note for the paper instead of making a new one.
Many notes, with an agent:
With the ZotLit skills installed, an agent can link every old note in one pass, including notes for papers in group libraries (whose item key has a group part, such as ENGBT62Ag4200309). ZotLit itself does not report a citation key that matches no paper or more than one paper, and the skills do not describe this task, so the request names the property and asks the agent to report any skipped notes. Install both the zotlit-query and the zotlit-template skills for this request:
Use the ZotLit query and template skills. I moved from the Citations plugin. My old literature notes are in the folder Reading notes, named @ plus the citation key. For each note, find the Zotero item with that citation key and add the property zotero-key with the item's Zotero item key (the Indexed Key, not the citation key). Change nothing else in the notes. Do not link a note when its key matches no item or more than one item, or when another note already has that zotero-key: list those notes for me with the reason. Check each linked note with template-inspect.
When a citation key matches two papers, the agent lists both titles and leaves the note untouched; pick the right paper and link that note by hand.
Fill missing properties (optional):
Run ZotLit: Update literature note in a linked old note. A notice confirms Properties updated. The profile document has no managed block, so the note body stayed unchanged. It adds or fills the properties your profile manages (with the template from step 6: authors, year, DOI, and citekey), keeps your own property values, and leaves the note body unchanged. An empty date receives today's date because ZotLit cannot know the old date.
Translate your template
Recommended: let an AI agent translate it. Install the ZotLit skills (works with Claude Code, Codex, or pi; needs Node.js 22.20 or later and the Obsidian CLI turned on). Start the agent in your vault folder and send this request with your saved template pasted in:
Use the ZotLit template skill. I am moving from the Citations plugin. Make my literature notes look like this old Citations template: [paste your template]. Name the notes @ plus the citation key, in the folder Reading notes. Keep my own text when notes update. Show me the rendered note for one of my papers before you install anything.
The agent translates the template, checks its draft against a real Zotero item, and shows you the rendered note for one paper before it installs the profile. The agent receives Zotero metadata and note excerpts; see the data-access note on Install the ZotLit skills before you start.
If your template uses the common Citations layout (properties date, category, title, authors, year, DOI, tags, aliases, status; followed by MoC, authors, title heading, year, In:, and an abstract callout), paste the profile document below with Edit a profile as Markdown, or open Edit profile and place properties in the Properties tab and the note text in the Note tab.
---
id: default
name: Default
version: 1.0.0
author: ZotLit
description: Literature note in the layout of my Citations template.
contract: 3
filename: '@{{ zt.citationKey }}'
language: liquid
frontmatter:
- key: date
expr: '"now" | date: "%Y-%m-%d"'
merge: keep
- key: category
value: literaturenote
merge: keep
- key: title
expr: zt.title
merge: replace
- key: authors
expr: 'zt.authors | map: "fullName"'
merge: replace
- key: year
expr: zt.date.year
merge: replace
- key: DOI
expr: 'zt.DOI | default: ""'
merge: replace
- key: tags
value: []
merge: append
- key: aliases
value: { "$eval": "[zt.title]" }
merge: append
- key: status
value: ""
merge: keep
- key: citekey
expr: zt.citationKey
merge: replace
---
MoC:
[link]
{{ zt.authors | map: "fullName" | join: ", " }}
# {{ zt.title }}
{{ zt.date.year }}
In: {{ zt.containerTitle }}
---
{% if zt.abstract %}
{% bq %}
[!abstract] Abstract
{{ zt.abstract }}
{% endbq %}
{% endif %}
--- zotlit:annotation ---
{% bq %}
[!note] {% if zt.pageLabel and zt.pageLabel != "" %}Page [{{ zt.pageLabel }}]({{ zt.backlink }}){% else %}[Zotero]({{ zt.backlink }}){% endif %}
{{ zt.imgLink | embed }}{{ zt.text }}{% if zt.citation %} {{ zt.citation }}{% endif %}
{% if zt.comment %}
{{ zt.comment }}
{% endif %}
{% endbq %}The part after the --- zotlit:annotation --- line is ZotLit's built-in layout for each Zotero highlight. Keep it as it is.
Rendered for a real paper:
---
date: 2026-12-04
category: literaturenote
title: Ten Simple Rules for Better Figures
authors:
- Nicolas P. Rougier
- Michael Droettboom
- Philip E. Bourne
year: 2014
DOI: 10.1371/journal.pcbi.1003833
tags: []
aliases:
- Ten Simple Rules for Better Figures
status: ""
citekey: rougierTenSimpleRules2014
zotero-key: RUGIER24
---
MoC:
[link]
Nicolas P. Rougier, Michael Droettboom, Philip E. Bourne
# Ten Simple Rules for Better Figures
2014
In: PLOS Computational Biology
---
> [!abstract] Abstract
> …Notes on this profile:
- In Citations, only
{{title}}and{{abstract}}were filled whileauthors:,year:, andDOI:stayed empty. ZotLit fills them. {{date:YYYY-MM-DD}}is the syntax of Obsidian's core Templates plugin (Citations left it empty). In ZotLit, use"now" | date: "%Y-%m-%d"in a property or{{ "now" | date: "%Y-%m-%d" }}in note text.keepmeans a later update does not change it.- YAML typed at the top of the note text stays body text in ZotLit instead of becoming note properties. Put properties in the Properties tab (or the
frontmatter:list). appendontagsandaliaseskeeps the values you add yourself;keeponstatusandcategorykeeps your edits.
Use it every day
- Write a literature note: Open the Zotero library view (or run ZotLit: Open Zotero library), find the paper, and select Write literature note. A notice confirms Literature note created. and
Reading notes/@<citation key>.mdopens. When the paper already has a linked note, the action reads Open literature note. - Keep your
Ctrl+Shift+Ohotkey: ZotLit has no default hotkeys, soCtrl+Shift+Ois free. In Obsidian Settings → Hotkeys, assign it to ZotLit: Open literature note quick switcher. - Cite from atomic notes: Keep your
[[@key]]links as citations or change them to Pandoc citations[@key]; see Your[[@…]]links below.
Your [[@…]] links
A [[@key]] link is an ordinary Obsidian link to the file named @key, as long as your note name keeps the @ (step 4). ZotLit does not read the @key inside [[ ]] as a citation key; it sees a link to that note. You can keep these links as citations, or change them to Pandoc citations [@key]. Both give you the same citation features:
- Live Preview shows formatted citations such as
(Rougier et al. 2014)(needs ZotLit Resource Pack, like other formatted citations). - Hovering a citation shows the full reference with buttons to open the literature note and open the paper in Zotero.
- The References and Cited by sidebars list the citations, and Obsidian's graph view draws citation edges.
- Export to Word includes the citations and a reference list.
The settings live under Settings > ZotLit > Citations:
| Setting | Default | Keep [[@key]] | Change to [@key] |
|---|---|---|---|
| Wikilink citations | Off | Turn on | Off |
| Open citations as links | Off | Turn on (click opens the note) | Turn on (click opens the note) |
| Pandoc citations | On | On | On |
| Show citations in graph view | On | On | On |
When Open citations as links is off, clicking a citation puts the cursor inside it instead of opening the literature note.
Keep your [[@…]] links
In Settings > ZotLit > Citations, turn on Wikilink citations and Open citations as links. Your notes need no changes.
ZotLit counts a [[@key]] link as a citation when it is a plain, unaliased link (including two in one sentence) and its target literature note is linked to Zotero (step 5). Clicking (Tufte 1983) then opens Reading notes/@tufte1983.md. Because the links stay Obsidian links, Obsidian's own Backlinks pane keeps listing the notes that cite a paper.
ZotLit does not count aliased links ([[@key|alias]]), heading links ([[@key#Heading]]), embeds (![[@key]]), links inside code, or links to notes without zotero-key; those stay ordinary Obsidian links.
To insert [[@key]] with the [@ suggester instead of typing [[@, see Insert [[@citekey]] with [@ below.
Or change them to Pandoc citations
A Pandoc citation [@key] names the paper by its citation key, so it works for a paper that has no linked note yet, and Pandoc and other Markdown tools can read it. Obsidian's own Backlinks pane does not list notes that cite a paper with [@key]; ZotLit's Cited by sidebar lists them instead.
Link your old literature notes (step 5) before you switch your links. Clicking a citation for a paper whose old note is not linked makes a second note for that paper instead of opening the old one.
To convert your existing notes with an AI agent (Install the ZotLit skills), start the agent in your vault folder and send this request. The ZotLit skills have no command that rewrites citations, so the agent edits the Markdown files directly:
I moved from the Citations plugin. In my notes outside the folder Reading notes, change every plain link [[@key]] to the Pandoc citation [@key]. Leave links with | or # and embeds ![[...]] and anything inside code as they are, and list them for me. Do not change the notes in Reading notes. Show me the changes before you write them.
The agent shows its plan before writing, changes only plain [[@key]] links, and lists the forms it left untouched: aliased links ([[@key|alias]]), heading links ([[@key#Heading]]), embeds (![[@key]]), and links inside code. Those stay ordinary Obsidian links.
Then turn on Open citations as links so that clicking a citation opens its linked note. When you write new notes, type [@ and pick the paper: the default citation text inserts [@key].
If you choose to keep your [[@…]] links, run ZotLit: Customize citation text. The citation text template opens in the Template Workbench. Replace it with:
{% if zt.variant == "alt" %}
{{ zt.citations | pandoc_cite: "prefer-author-in-text" }}
{% else %}
{% for c in zt.citations %}[[@{{ c.item.citationKey }}]]{% unless forloop.last %}, {% endunless %}{% endfor %}
{% endif %}Type [@, pick a paper, and press Enter to insert [[@rougierTenSimpleRules2014]]. Pressing Shift+Enter still inserts @rougierTenSimpleRules2014.
Unlike Citations' Insert literature note link, this does not create the note. If the paper has no note yet, the link is unresolved; clicking it creates an empty note at the vault root (Obsidian's default behaviour), with no template and no zotero-key. Create the note from the Zotero library view first.
| Citations | ZotLit |
|---|---|
{{citekey}} | {{ zt.citationKey }} |
{{abstract}} | {{ zt.abstract }} |
{{authorString}} | {{ zt.authors | map: "fullName" | join: ", " }} |
{{containerTitle}} | {{ zt.containerTitle }} |
{{DOI}} | {{ zt.DOI }} |
{{eprint}} | {{ zt.number }} (the Archive ID of a preprint) |
{{eprinttype}} | {{ zt.publisher }} on a preprint (the Repository); approximate |
{{eventPlace}} | {{ zt.place }} |
{{page}} | {{ zt.pages }} |
{{publisher}} | {{ zt.publisher }} |
{{publisherPlace}} | {{ zt.place }} |
{{title}} | {{ zt.title }} |
{{titleShort}} | {{ zt.shortTitle }} |
{{URL}} | {{ zt.url }} |
{{year}} | {{ zt.date.year }} |
{{zoteroSelectURI}} | {{ zt.backlink }} (a zotero://select link by item key) |
{{date:YYYY-MM-DD}} (core Templates) | {{ "now" | date: "%Y-%m-%d" }} |
See the template data reference for the full list of fields. The Template Data Explorer shows every field of one paper.
- You write a note for a paper you read before, and the notice says Failed to create literature note. To find the cause, turn on Write logs to file in Settings → ZotLit → Advanced, then try again. The paper has an old Citations note that is not linked. Link it (step 5), then select Open literature note.
- A second note with random letters, such as
@ioannidis2005_PwaWya.md: The note name template still ends in{% suffix %}. Remove{% suffix %}(step 4), move your text into the old note, delete the second note, and link the old note (step 5). - The paper is not marked Has a literature note although the old note exists: The old note has no
zotero-key, or it holds the citation key instead of the item key. Use Copy item key (step 5). - The citation key in Zotero differs from the old note name: Rename the note to
@plus the new key inside Obsidian, so Obsidian updates the links to it. Or type the old key back into the paper's Citation Key field in Zotero. [[@key]]links do not show in the References sidebar: To keep[[@key]]links as citations, turn on Wikilink citations (Keep your[[@…]]links), use plain unaliased links, and link the target note (step 5). Or switch them to Pandoc citations[@key](Or change them to Pandoc citations).- A click on a citation opens nothing and puts the cursor in it: Turn on Open citations as links in Settings > ZotLit > Citations.
- A click on a citation makes a second note for a paper: Its old Citations note is not linked to Zotero. Link the old note (step 5), then delete the second note.
- Each time Obsidian starts, the notice "Failed to load plugin “obsidian-citation-plugin”" appears: Citations 0.4.5 does not start on Obsidian 1.15, but it is still turned on in your vault. Save your template (step 1), then turn Citations off in Settings → Community plugins.
Next
- Install the ZotLit skills — set up an AI agent to translate templates or link existing notes.
- Create and open literature notes — open literature notes from inline citations or the library view.
- Customize a template — adjust your note layout or citation text in the Template Workbench.
- Configure frontmatter properties — control how ZotLit fills and merges note properties on update.
- Cite with a link to the literature note — details on wikilink citations and page locators.
- Literature notes and the managed region — how ZotLit separates generated content from your writing.
- ZotLit vs Zotero Integration vs Citations — compare the three plugins side by side.
- Migrate from Zotero Integration — if you also have notes or Nunjucks templates from Zotero Integration.
Last updated on