本页有简体中文版。

阅读中文版
ZotLit

Insert Zotero citations in Obsidian: every way to do it

Insert a Zotero citation such as [@smith2024] in Obsidian as you type, or from the command palette. Citation keys come from Better BibTeX in Zotero.

If you have never cited a paper in Obsidian, start with How to cite in Obsidian with Zotero (about 10 minutes).

  1. In your note, type [@. A list of papers from your Zotero library opens.
  2. Type a few words of the title or author, select the paper, and press Enter. ZotLit inserts [@citationKey] and a space, so you can keep typing.
  3. For the author-in-text form @citationKey, press Shift+Enter instead.

Insert while typing

  1. Type [@ in the note (【@ also works). A list of papers from your Zotero library opens under your cursor. Before you type a search term, the papers this note already cites appear first, each marked Cited in this note.

    A thesis chapter with [@ typed at the end of a paragraph, and the citation suggester below it listing the two papers the chapter already cites, each marked "Cited in this note"

  2. Keep typing words from the title or author to narrow the list. The list ranks papers by how well they match, and any paper the note already cites keeps its Cited in this note mark.

  3. Select the paper and press Enter. The citation appears in your note (for example, [@smith2024]), followed by a space, with your cursor placed after the space.

  4. For the author-in-text form, press Shift+Enter instead of Enter, or end your search with / and press Enter. The note receives @smith2024. The hint row at the bottom of the list confirms ↵ to insert citation, and / ↵ and ⇧↵ to insert alternate citation.

If you see something else

  • Nothing happens when I type @ alone: A bare @ opens the suggester only when @ trigger is turned on in Settings > ZotLit > Citations (off by default). Type [@ instead, or turn that setting on.
  • No list opens at all, even for [@: Citation suggester is turned off. Open Settings > ZotLit > Citations and turn it back on.
  • My search stops at the first space after @: When using a bare @, type _ instead of a space (for example, @machine_learning matches "machine learning"). Normal spaces work as expected after [@.
  • Notice: "Selected item has no citation key: {key}." The paper has an empty Citation Key field in Zotero. Add a citation key to the item in Zotero, then insert it again.
  • Notice: "Citation key @{citekey} matches multiple Zotero items. Change it in Zotero before inserting a citation." Two items share the same citation key, in one library or in two libraries ZotLit reads. Give one paper a distinct key in Zotero, or narrow your Library scope to the intended library. For details, see A key that matches several items.
  • A citation already in my note shows as a problem, and the References sidebar says "@{citekey} matches multiple items in your Zotero library." Two items share the same citation key. Change one key in Zotero or narrow your Library scope; until resolved, ZotLit leaves the raw key in place and omits it from the reference list.
  • Each paper in the list names a library: ZotLit is currently searching more than one library. The label indicates which library contains that item; when only one library is active in scope, the label is omitted.

Next

Last updated on

On this page