本页有简体中文版。

阅读中文版
ZotLit

Find Zotero fields to use in Obsidian templates

Open the template data explorer to find a Zotero field, such as the journal name, and copy it as a snippet you can paste into a template.

Open a literature note, run ZotLit: Open template data explorer, search for the field you need, and copy it. This page copies the journal name as {{ zt.publicationTitle }}.

A template reads everything about a paper from one name, zt: zt.title is the title and zt.authors the authors. Browsing here changes no template and touches nothing in your Zotero library. What you copy is plain text. To insert a field straight into a profile while you edit it, use Fields in the editor instead, as in Customize a template.

Open the explorer

Open a literature note. Open the command palette and run ZotLit: Open template data explorer.

The command palette filtered to ZotLit: Open template data explorer, with the command outlined in red

The explorer opens in the right sidebar, below the annotations, and names your paper at the top.

Read the field list

Look at the panel titled Template fields. The paper's fields sit under section headings. The first section is Common fields, with Title, Authors, Date, Abstract, Published in, and Citation key. Each row shows the field's name and your paper's own value.

The Template fields panel in the right sidebar, outlined in red, listing the common fields of Ten Simple Rules for Better Figures

To look at another paper, select Choose item in the panel header and pick one under Recent, search with Search Zotero…, or choose a built-in example.

Type part of the field's name, such as published, in the Search note fields box.

The search box with published typed in and outlined in red, and one matching row, Published in, below it

The list shows only the matching rows. Here it shows Published in with the value PLOS Computational Biology.

Copy the snippet

Right-click the row Published in, or select its Template actions button, and select Copy output.

The menu open on the Published in row, with Copy output outlined in red

The menu offers Copy path, Copy value, Copy output, and Copy if present.

Check that it copied

Look at the top right of the window.

The notice Copied outlined in red at the top right of the window

The notice Copied appears, and your clipboard holds {{ zt.publicationTitle }}. Paste it into the note text of a profile, as in Customize a template.

Next

Work through the template recipes in this order.

Last updated on

On this page