本页有简体中文版。

阅读中文版
ZotLit

Import Zotero notes into Obsidian as Markdown

Import Zotero child and standalone notes into your Obsidian vault as Markdown files, for one paper, a collection, or a whole library, and re-import them.

  1. Open the paper's literature note.
  2. Press Ctrl+P (Cmd+P on macOS) and run ZotLit: Import child notes from Zotero.
  3. Select Import notes.

Import a paper's notes

In Zotero, notes attached to an item are called child notes, while notes placed directly in a collection are standalone notes.

  1. Open the literature note of the paper whose Zotero notes you want. The literature note is now the active tab.
  2. Open the command palette and run ZotLit: Import child notes from Zotero. You can also right-click the literature note's file in the file explorer and select the same command. The Import child notes dialog opens, showing how many notes will be imported and listing any notes you have already imported.
  3. Select Import notes. Each Zotero note becomes a Markdown file in the folder set by Imported note folder (by default, zotero_notes), which ZotLit creates if it does not yet exist. Each file name ends in a short random suffix so every note keeps its own file. The literature note links to these files whenever its template uses noteLink; until a note is imported, that link opens the note in Zotero. Creating, updating, or overwriting a literature note never imports or changes these files; only an import or re-import writes them.

If you see something else

  • I edited the note in Zotero, but the file in Obsidian did not change — Imported files are created once and do not sync automatically. Open the file in Obsidian and run ZotLit: Overwrite imported note, or select the note in Zotero and click ZotLit → Import Selected Notes.
  • A notice Blocked 1 attachment from import. or Blocked 2 attachments from import. with Unapproved source folder: or Unapproved source folders: — The attachment is a Zotero linked file in a folder outside ZotLit's allowed locations. Select Open ZotLit settings, navigate to Settings > ZotLit > Attachments > Approved folders, add the folder if you trust it, and re-import the note. Approving a folder does not alter earlier imports.
  • The batch lists a note under Up to date (…), but an annotation in it changed — Batch imports check only the modification timestamp of the Zotero note itself, not individual annotations. Open that note file in Obsidian and run ZotLit: Overwrite imported note.
  • A citation in the imported note reads like -@ABC123? — ZotLit found no citation key for that paper in your Zotero library or in the note. The trailing ? lets you search your vault for unresolved citations. When no cited paper in a citation resolves, ZotLit preserves the original text so nothing is lost.
  • A notice: Use Switch profile… to replace the unavailable profile “…” on imported note “…”. — The profile originally used to import this note has been removed. Select Switch profile… and choose an existing profile.
  • An image in the imported note reads Excerpt image unavailable. with a source link — The image could not be generated and the note had no previous image to retain. Other annotations and text in the note still imported. See Import outcomes.
  • A notice starting "Excerpt images: …" — This notice appears once per batch or import to report images that were not freshly generated. "Kept from the note and not refreshed" means an existing image in the note was preserved. See Import outcomes.
  • An image reads Excerpt image unavailable because attachment import is disabled. — Import attachments is turned off under Settings > ZotLit > Attachments, which prevents ZotLit from writing image files. Turn the setting on, then re-import the note.
  • A notice: No library in the library scope is available. — None of the libraries in your library scope are in the Zotero database, so the import dialog cannot open. See Library scope.
  • Zotero says the selection is too large, or asks to enable a server — Enable ZotLit's local HTTP server in Obsidian settings, or select fewer notes at a time. See Set up live updates.
  • Zotero asks for confirmation each time it opens Obsidian — Follow Suppress the Zotero security prompt to disable the confirmation dialog.

Next

Last updated on

On this page