本页有简体中文版。

阅读中文版
ZotLit

Customize your Zotero literature note template in Obsidian

Edit the Default profile to put Zotero fields, such as the journal name, in your literature notes, and check each change in a live preview.

To make a literature note before changing its template, start with Connect Zotero to Obsidian: your first literature note (about 12 minutes).

Open the Default profile, insert a Zotero field in the note text, and check the result in the live Note preview. Edits save by themselves and apply to new notes. Nothing here changes your Zotero library.

The thing you edit is a profile: one file in your template folder (templates by default), zotlit-profile.default.md for the Default profile. See How templates work.

Open the profile

In Obsidian, open Settings > ZotLit > Literature note profiles. On the Default row, select the pencil button, Edit profile.

The Literature note profiles settings page, with the pencil button on the Default row outlined in red

The Template Workbench opens as a new tab named Default · Profile, with the note text on the left and a Note preview on the right. The first time, ZotLit creates zotlit-profile.default.md in your template folder.

Choose a paper to preview

Select Choose item above the tabs, then select a paper under Recent, or search for one with Search Zotero….

The Choose item list open over the editor, with the row for Rougier et al. (2014), Ten Simple Rules for Better Figures, outlined in red

The line above the tabs names the paper, and the Note preview fills with that paper's properties, links, and annotations.

Open the Note tab

Select Note. Each tab edits one part of the profile: Note is the body of the note, Properties is covered in Configure frontmatter properties, and Name and folder and Match are covered in Use a different template for different notes.

The Note tab of the profile editor, with the row of tabs outlined in red, the note text on the left, and the note preview on the right

The editor shows the note text: a heading with the title, a line with links, and an Annotations section. The preview beside it shows the finished note for your paper.

Insert a Zotero field

In the note text, place the cursor where the value should go, for example after Published in: . Select Fields in the header, select the row Published in, and select Insert on the card that opens.

The Fields list open at the right edge, with the card for the Published in field showing its template path and the Insert button outlined in red

{{ zt.publicationTitle }} appears at the cursor and the list closes. ZotLit replaces each field in double braces with the paper's own value when it writes the note. To find a field before you open the editor, see Explore template data.

Check the preview

Look at the Note preview.

The note preview with the new line Published in: PLOS Computational Biology outlined in red

The note now reads Published in: PLOS Computational Biology. The preview updates as you type, and Obsidian's Undo and Redo work.

Update a note you already have

New notes use your edited profile at once. A note that already exists keeps its text until you update it. Open the note, open the command palette, and run ZotLit: Update literature note.

The command palette with ZotLit: Update literature note outlined in red, over an open literature note

The notice Literature note updated. appears. ZotLit: Overwrite literature note replaces the whole note body after a confirmation.

Next

Work through the template recipes in this order.

Last updated on

On this page