Add a property to your Obsidian literature notes
Add a property, such as the journal name or the Zotero tags, to the top of every literature note, and bring it into notes you already have.
Open the Properties tab, select Add a property, and link a property to a Zotero field. Then run ZotLit: Update literature note metadata to bring it into a note you already have.
Properties are the block at the top of a note, shown in Obsidian as the Properties list. Each profile keeps its own rules, and edits save by themselves. ZotLit ships four: title, related, collections, and citekey.
Before you start, open the Default profile and choose a paper, as in Customize a template. This page uses zt.publicationTitle, the journal name from Explore template data.
Open the Properties tab
In the profile editor, select Properties.

The list shows a row for each property, with the value for your paper. The Note preview shows the same properties.
Add a property
Select Add a property under the list.

A new row opens at the bottom with Property name, Value, and When the note is updated.
Name the property
In Property name, type journal.

The row's title changes to journal. The name is the key ZotLit writes at the top of the note.
Choose its value
Leave Value on Zotero field · Liquid. In the box under it, replace zt.title with zt.publicationTitle. A list of fields opens as you type; press Escape to close it.

The row now shows the paper's journal, PLOS Computational Biology. The other choices for the value are Fixed text and Rule · JSON-e.
Choose what happens on update
Under When the note is updated, keep Replace the existing value.

ZotLit then overwrites the property each time a note updates. Add to the existing list adds new items and keeps the ones already in the note. Keep the existing value writes the property only while it is empty. See Merge strategies.
Check the preview
Look at the Properties list in the Note preview.

The preview shows a row journal with PLOS Computational Biology.
Update a note you already have
New notes get the property when ZotLit creates them. A note that already exists changes only when you update it. Open the note, open the command palette, and run ZotLit: Update literature note metadata.

The note's Properties list gains journal with PLOS Computational Biology.

Add Zotero tags to your notes
Add one more property to keep the tags of a paper in Zotero in the note's tags property. Repeat steps 2 and 3 with these values, then update the note.
| Input | Value |
|---|---|
| Property name | tags |
| Value | Zotero field · Liquid, zt.tags | obsidian_tag |
| When the note is updated | Replace the existing value |

Choose Add to the existing list instead to keep tags you added by hand in Obsidian. The obsidian_tag filter turns spaces and other characters into what Obsidian allows in a tag. For example, Zotero tags named Methodology and Open Access become:
tags:
- Methodology
- Open_AccessSee the obsidian_tag filter reference for every rule.
- A row is marked Problem → the expression cannot be used. The Problems area names what went wrong and offers Edit property to open the row. See Validation and Edit a profile as Markdown.
- A property written in JavaScript does nothing → it is inert while JavaScript templates are off on that device, and ZotLit reports the affected fields: These frontmatter fields are inactive because JavaScript templates are disabled: …. See Enable JavaScript templates.
Select a property row to edit it. Use Remove property to remove it.
The order of the rows sets the order of the keys when ZotLit creates a new note. Drag the handle (Drag to reorder) at the start of a row, or select the handle and press Alt+Arrow Up or Alt+Arrow Down.
Reordering does not change notes that already exist: a key already in a note keeps its place. To reorder the properties of one note, drag the property type icon in Obsidian's properties panel. The note needs two or more properties.
An agent with the ZotLit template skill can add a managed tags property with the expression zt.tags | obsidian_tag. The Template Workbench CLI lets it configure the property and test the rendered result.
Next
Work through the template recipes in this order.
Last updated on