You’re reading the ZotLit v2 beta docs. Still on v1? Read the v1 docs

ZotLit

Settings

Every ZotLit setting: key, label, default value, and location in the settings tab.

This page documents every setting exposed by ZotLit, grouped by the settings tab where it appears. Each entry lists the UI label, internal key, control type, and default value.

Open settings from Settings > Community plugins > ZotLit.

Hub (top-level)

The hub page shows when you first open ZotLit settings.

LabelKeyControlDefault
Default libraryzotero.citation-libraryDropdown (lists your Zotero libraries)My Library
Literature note foldernote.literature-folderFolder pickerliteratures
Citation suggestercitation.editor-suggesterToggleOn
Show citekey in suggestionscitation.show-citekey-in-suggesterToggleOff

Zotero database

LabelKeyControlDefault
Zotero profilezotero.profile-dirProfile pickerAuto-detect
Zotero database(read-only)Displays resolved zotero.sqlite path
Read modezotero.read-modeDropdownAuto
Watch for changeszotero.auto-refreshToggleOn

Read mode options:

OptionBehavior
AutoSelects the best mode for your platform automatically
Reflink cloneFast snapshot via copy-on-write clone (needs a filesystem that supports reflinking)
Full copyByte-for-byte copy of the database file
Immutable sourceReads the Zotero database file directly, without a snapshot copy

Advanced

LabelKeyControlDefault
Data directory overridezotero.data-dirFolder pickerAuto-detect
Source ID(read-only)Displays the 8-character hex identifier for the connected Zotero install

Templates

LabelKeyControlDefault
Template foldertemplate.folderFolder pickertemplates

JavaScript templates

JavaScript (Eta) templates are gated behind a per-device toggle. Enabling shows a confirmation modal.

LabelKeyControlDefault
JavaScript templates(per-device gate)Turn on / Turn off buttonOff
Auto-pair Eta tagstemplate.auto-pair-etaToggleOff
Trim whitespace before tagstemplate.auto-trim-leadingDropdownKeep
Trim whitespace after tagstemplate.auto-trim-trailingDropdownKeep

The three settings below the gate are visible only when JavaScript templates are enabled.

Trim whitespace options: Keep, Strip one newline, Strip all whitespace.

Template files

This group lists one row per template type, in order: Note filename, Literature note, Annotation, Managed region, Citation, Alternate citation.

Each row provides:

  • Create editable template file: ejects the built-in default to a file you can edit.
  • Open template: opens the ejected file in the editor.
  • Reset to default: deletes the ejected file and reverts to the built-in (destructive; requires confirmation).
  • Delete template file: removes the ejected file (destructive; requires confirmation).
  • Language: dropdown to switch between Liquid and JavaScript (Eta).

A Create all editable template files button at the top of the group ejects every template at once.

Template files > Frontmatter

A sub-page managing the note.frontmatter-fields setting as an editable list. Each field row has:

ColumnDescription
KeyThe YAML frontmatter key name
ExpressionTemplate expression that produces the value
LanguageLiquid or JavaScript (Eta)
Merge strategyHow the field is updated on re-render: Replace, Append arrays, or Keep existing

Actions: Add field, Reset to default (reverts the full list).

Note import

LabelKeyControlDefault
Imported note foldernote.import-folderFolder pickerzotero_notes
Render annotations from templatenote.import-annotations-as-templateToggleOff

Attachments

LabelKeyControlDefault
Import attachmentsattachment.importToggleOn
Attachment folderattachment.folder-pathFolder picker(Obsidian default)

Attachment folder is visible only when Import attachments is on.

Live updates

LabelKeyControlDefault
Receive updates from Zoteroserver.enabledToggleOff
Portserver.portNumber (1024 -- 65535)9091

Port and Hostname are visible only when Receive updates from Zotero is on.

Advanced

LabelKeyControlDefault
Hostnameserver.hostnameText127.0.0.1

Logging

LabelKeyControlDefault
Log levellog.levelDropdowninfo
Write logs to filelog.to-fileToggleOff

Log level options: Off, trace, debug, info, warning, error, fatal.

When Write logs to file is on, logs append to zotlit.log.jsonl inside the plugin folder. Two additional action rows appear:

  • Open log file: opens the JSONL log in the system editor.
  • Save log archive: exports the log file for sharing.

Both actions are disabled while Write logs to file is off.

See also

On this page