Settings
Every ZotLit setting: key, label, default value, and location in the settings tab.
This reference lists every ZotLit setting, its default, dependencies, and storage scope.
Open settings from Settings > ZotLit. The sections below follow the order of the settings tab: the main page first, then each sub-page.
Settings moved in ZotLit 2.2.0. Where settings moved maps each old location to its new one.
Main page
The main page opens when you select ZotLit in Obsidian's settings. It holds the default Profile's settings. New literature notes use this Profile when no other Profile is selected.
The top of the page links to the release notes, the documentation, the community, and the bug report form. Reminders appear in the same place.
| Label | Key | Control | Default | Dependency | Storage |
|---|---|---|---|---|---|
| Literature note folder | note.literature-folder | Folder picker | literatures | None | Synced |
| Imported note folder | note.import-folder | Folder picker | zotero_notes | None | Synced |
| Citation and references style | citation.references-style | Dropdown (lists installed styles) | Default (Chicago author-date) | Zotero style directory | Synced |
| Templates and properties | (the Profile document) | Edit profile and Restore built-in | Built-in template | None | Synced |
Three of these rows are bindings: the two note folders and the citation and references style. The Imported notes page holds the other two bindings. ZotLit stores all five in note.default-profile.bindings in data.json, and every other Profile inherits a binding it does not set itself. The fourth row opens the Profile's document. See Settings > ZotLit > Literature note profiles.
Template conversion reminder
A vault whose 2.1 template files still wait for conversion keeps one reminder at the top of the page. The row is Convert your literature note templates and its one button is Review conversion, which opens the Library View with the conversion in its setup banner. Its description reads:
Legacy templates stay active until you convert them. Review the conversion when you are ready.
See Migrate from 2.1 templates.
Literature note folder
The folder part of a new literature note's path. ZotLit creates the note in this folder, under the name that the Profile's note name template gives, and adds .md. A slash (/) in that name makes a subfolder in this folder. For example, the folder literatures and the name 2024/Smith2020 give literatures/2024/Smith2020.md.
A Profile can set its own folder, and a note stays in the folder of the Profile it was created with. A Profile switch or a Profile deletion can move the note. The move keeps the subfolders the note has under its Profile's folder.
Imported note folder
Where ZotLit saves notes imported from Zotero. A Profile can set its own folder. ZotLit creates the folder when it is absent, and gives each filename a short random suffix so every imported note keeps its own file.
See Import Zotero notes for the import workflow.
Citation and references style
CSL style used to format in-text citations and the references sidebar. Install and manage styles in Zotero.
The dropdown stores the CSL style ID. Default uses ZotLit's embedded style. ZotLit uses the embedded style only while Default is selected. In a native Pandoc run, Default uses the Pandoc default style, Chicago author-date.
An unavailable style remains selected. In-text citations stay native, and the References Sidebar shows its minimal list. The row then reads This style isn’t installed in Zotero. Install it in Zotero or select another style..
The first formatting attempt shows The selected citation and references style isn’t installed in Zotero. once per plugin lifecycle. Its Open settings action opens ZotLit settings.
Built-in export with an unavailable style stops and shows Zotero cannot supply …. Install it in Zotero, or choose another style for this export. A native Pandoc run of a note that uses the unavailable style stops with style-missing. Neither export uses another style.
A note can select its own style with the zotlit-csl property. The property takes the CSL style ID of a style installed in Zotero. Every other note keeps the vault selection. A native Pandoc run cites each note with the style the note uses in Obsidian, unless the note sets csl or citation-style, or you pass --csl.
That note uses its own style for in-text citations, the References Sidebar, the Citation popover, and the copied bibliography. The built-in export dialog opens on the same style. The dialog holds a style you pick there for that run alone, and never writes it to the note.
A note whose zotlit-csl names an unavailable style stops instead of using the vault selection. Its citations stay native. The References Sidebar shows its minimal list under the banner This note's citation and references style is unavailable, and the copy action stays unavailable.
Built-in export of that note opens on the same unavailable style and stops with a notice, unless you pick an available style in the dialog.
An empty zotlit-csl property stops the note the same way, and its built-in export stops before the dialog opens. Remove the property to use the vault selection again.
Template document
The document that renders a literature note: its filename, its properties, and its body.
The main page exposes it through one row, Templates and properties, whose description reads Edit the default profile in the template workbench.. Edit profile opens the Profile in the Template Workbench View and creates the document from the built-in Literature Note Template while it does not exist yet.
Once the document exists, the row also offers Restore built-in, which moves it to Obsidian's configured trash and returns the Profile to the built-in template.
Properties
The properties ZotLit writes into every literature note it creates and updates.
The properties live in the Profile's template document, edited through the same Templates and properties row on the main page. While the Profile uses the built-in template, ZotLit writes its built-in field list. Creating the document starts from the fields the Profile already writes, so no field is lost.
See Configure frontmatter properties for what each field does.
Literature note profiles
Open this page from Settings > ZotLit > Literature note profiles. A Profile's template document defines its note folder, citation style, and appearance. It can also carry a Profile Match: conditions that select the Profile automatically for new literature notes. See Profiles for how ZotLit selects one.
The first row is Default, the default Profile: Uses the settings on the main ZotLit page. Other profiles inherit from it. Its buttons are Edit profile and More actions, whose menu holds Share….
The Other profiles list holds every other Profile. Its header carries two buttons. Add profile opens a dialog that reads Start from a copy of the current Default template. The literature note folder is optional: leave it empty to use the Default folder. Existing notes keep their folders. Its fields are Name and Literature note folder, and the new document then opens in the Template Workbench View. A valid name is enough to create the Profile. The folder is optional: while it is empty, its placeholder shows the folder the Profile inherits, for example Same as Default — literatures. Import profile… reads a Profile in from your clipboard or a file. Until you add one, the list reads Add one to use a different folder, citation style, or look for some notes..
Each added Profile has one row showing its label and a short Profile Match status:
| Status | Meaning |
|---|---|
| Manual only | The Profile has no Profile Match. You can select it manually. |
| Automatic | The Profile has Match conditions that ZotLit can evaluate. |
| All items | The Profile Match accepts every item. |
| Needs attention | ZotLit cannot evaluate the Profile Match. Open the Match tab of the Template Workbench View to see why. |
A row carries one button for the Profile and one menu for everything else:
| Control | Effect |
|---|---|
| Edit profile | Opens the Profile in the Template Workbench View. |
| More actions > Duplicate | Creates a copy of the Profile and opens it in the Template Workbench View. |
| More actions > Share… | Copies the Profile, or saves it as a file, so someone else can read it in. |
| More actions > Delete profile | Moves the Profile document to Obsidian's configured trash after notes switch. |
A new Profile starts with the default Profile's template. Its own document can set a folder, citation style, appearance, or Profile Match.
Each Profile is edited in its own document. Deleting a Profile that notes still use asks where those notes go first. The dialog can also move the notes into the folders of the Profile they go to. Its checkbox names those folders, for example Move files to books/. The move keeps the subfolders a note has under the deleted Profile's folder. A note outside that folder moves by its file name alone.
Partials
The Partials list at Settings > ZotLit > Literature note profiles > Partials holds every partial in the vault. A partial is a piece of template text that any template renders by name, so several Profiles can share it. The list sits below the Profile list, and it covers the whole vault rather than one Profile.
Until you add one, the list reads Add one to share a piece of template text between profiles. Its header carries one action, Add partial, which asks for a name and creates the file.
Each partial has one row with its name and its vault path:
| Action | Effect |
|---|---|
| Open partial | Opens the partial in the Template Workbench View. |
| More actions > Delete partial | Moves the partial's file to Obsidian's configured trash after you confirm. |
The delete confirmation reads Delete partial? with the body … will be moved to trash. Every template that calls this partial will report a problem. It rewrites no caller, so every template that calls the deleted partial reports a missing partial afterwards.
Renaming a partial is an ordinary Obsidian file rename. ZotLit has no rename action and rewrites no call, so each caller reports a missing partial until you change the name in the call yourself.
A partial file whose name belongs to another ZotLit template registers nothing and gets its own row instead:
| Row | Text |
|---|---|
| Reserved partial name | ZotLit does not use …. The name … belongs to another ZotLit template. Rename the file. |
See template document naming for the reserved names and the filename rule.
Profile Match
A Profile Match is the set of conditions that select a Profile automatically for new literature notes. Each condition tests a Zotero item with the same conditions as the filter of an items Query View, such as its title, creators, year, item type, Collections, Library, or Tags. The Match lives in the Profile's template document. The default Profile is the fallback: it has no Profile Match.
Nothing on this page edits a Match. A Profile row reports the status word from the table above, and the row's own controls act on the Profile rather than its conditions. Change the conditions in the Profile's document, on the Match tab of the Template Workbench View. See Use different templates for that procedure, and Profile Match for the condition language, its operators, and the Collection path rules.
ZotLit skips a Profile Match that it cannot evaluate. The cause is a mistake in the expression: invalid syntax, an unknown function or method, or an incorrect argument. The Profile row then shows Needs attention, and the Match tab shows the same error as a Query View, on the row that has the mistake. A condition that names a Library or item type that does not exist is not a mistake: it matches no item. Other Profiles continue to take part in automatic selection. A template document that ZotLit cannot load appears in Excluded documents and takes no part in selection.
Selection for new notes
When exactly one Profile Match fits an item, ZotLit uses that Profile and creates the literature note directly. The creation notice reports the Profile, the match reason, and the note path.
When two or more Profiles match, the Profile picker opens with the matching candidates identified. Select a Profile for the current operation. Exclusions in the Match conditions can prevent future overlaps.
When none matches, the picker preselects Default. ZotLit uses it directly when no other Profile exists.
Selection follows this order:
- Your manual choice for the current operation.
- A Profile supplied by a command or a link from ZotLit Companion, the Zotero add-on.
- The one matching Profile.
- The default Profile.
Once a creation preview is ready, its Profile and destination stay fixed for that operation. Changes to Match conditions apply to the next operation.
In a batch, ZotLit selects a Profile separately for each item. A shared fallback choice covers unmatched or overlapping items; items with one matching Profile keep that selection. Use one profile for all new notes… applies your choice to every new note in the batch.
Existing notes keep their recorded Profile when Match conditions change. The changes apply to new notes.
Share and import
The Share… dialog and import consent dialog control whether a Profile carries its Match conditions:
| Control | Default | Effect |
|---|---|---|
| Include match conditions | On | Includes the Profile Match in the shared copy or file. Turning it off omits the Profile Match from that output. |
| Import match conditions | On | Saves the incoming Profile Match with the imported Profile. Turning it off imports the Profile for manual selection only. |
The import consent dialog shows the incoming Match conditions as their Filter Expression. When the incoming Profile has no Profile Match, the dialog shows Not auto-selected and hides Import match conditions.
Library references, Collection paths, and Tag names stay as written during sharing and import. Review the imported conditions against your own Libraries, Collections, and Tags on the Match tab of the Template Workbench View.
Imported notes
Open this page from Settings > ZotLit > Imported notes. It holds how notes imported from Zotero render. Their folder is on the main page.
| Label | Key | Control | Default | Dependency | Storage |
|---|---|---|---|---|---|
| Use colored highlight syntax | note.import-colored-highlights | Toggle | Off | None | Synced |
| Highlight mappings | note.import-highlight-mappings | Sub-page | Built-in map | None | Synced |
| Render annotations from template | note.import-annotations-as-template | Toggle | Off | None | Synced |
The first and third rows are bindings of the default Profile; ZotLit stores them with the main page's bindings in note.default-profile.bindings.
Highlight mappings is a sub-page with one row per Zotero highlight color. Each row takes
HTML mark, a circle emoji, or
Customwith an emoji of your own. The mappings apply to all Profiles.
See Import Zotero notes for how the mappings render.
Citations
Open this page from Settings > ZotLit > Citations.
Citation suggestions
| Label | Key | Control | Default | Dependency | Storage |
|---|---|---|---|---|---|
| Citation suggester | citation.editor-suggester | Toggle | On | None | Synced |
| @ trigger | citation.at-trigger | Toggle | Off | Citation suggester is on | Synced |
| Show citation key in suggestions | citation.show-citekey-in-suggester | Toggle | Off | None | Synced |
@ trigger is visible only when Citation suggester is on.
Citation sources
| Label | Key | Control | Default | Dependency | Storage |
|---|---|---|---|---|---|
| Pandoc citations | citation.pandoc-citations | Toggle | On | None | Synced |
| Wikilink citations | citation.wikilink-citations | Toggle | Off | None | Synced |
| Annotation citations | citation.annotation-citations | Toggle | Off | None | Synced |
Pandoc citations: Include Pandoc
citations such as @doe2024 in the references sidebar and ZotLit's in-text
features. This setting does not change citation insertion or export.
Wikilink citations: Include unaliased links to literature notes in the references sidebar and ZotLit's in-text features. Heading links, block links, and invalid citation fragments stay as links. This setting does not change export.
Annotation citations: Count Zotero
annotation links with no link text, such as [](zotero://…), as citations of
the annotation's item in the references sidebar and ZotLit's in-text features.
This setting does not change export.
All three settings can be off. ZotLit's internal Citation Index remains active, and Reset citation index remains available under Settings > ZotLit > Advanced.
Graph view
| Label | Key | Control | Default | Dependency | Storage |
|---|---|---|---|---|---|
| Show citations in graph view | citation.graph-citations | Toggle | On | Obsidian's Graph view core plugin | Synced |
Show citations in graph view: Connect each note to works it cites in the graph view: to the Literature Note, or to a node labeled with the citation key when no Literature Note exists. Turning it off returns every open graph to its native state, and the Citation Graph commands report that it is off instead of opening.
The setting is vault-wide. The Graph view core plugin supplies the graph views themselves: while that plugin is disabled, no graph shows citations and the row reports it. See Explore citations in the graph view.
In-text citations
| Label | Key | Control | Default | Dependency | Storage |
|---|---|---|---|---|---|
| Show formatted citations | citation.show-formatted | Toggle | On | Active citation source; Pandoc engine and selected style for formatted text | Synced |
| Open citations as links | citation.open-as-links | Toggle | Off | Active citation source | Synced |
Show formatted citations: Show citations in Live Preview and reading view with the selected citation and references style. Source mode always shows Markdown. Citations stay unchanged when ZotLit cannot format them.
Open citations as links: Open literature notes when you select a Pandoc citation or a literature note wikilink shown as a citation. When off, selecting a citation places the cursor in the citation text so you can edit it.
The navigation setting also controls the four open-under-cursor commands. Hover action owns hover on its own. While this setting is off, Ctrl-click (Windows and Linux) or Cmd-click (macOS) still opens the Literature Note.
Hover
| Label | Key | Control | Default | Dependency | Storage |
|---|---|---|---|---|---|
| Hover action | citation.hover-action | Dropdown (Off, Citation popover, Page preview) | Citation popover | Active citation source | Synced |
| Require modifier key | (sub-page) | Sub-page listing toggles for editing modes and the graph view | — | Hover action = Citation popover | Synced |
Hover action: What hovering a citation or literature note link shows. Page preview follows the Page preview plugin settings.
One hover shows one result. Citation popover shows the bibliography entry of every cited item. Page preview shows the Literature Note of a single-item citation under the built-in Page preview plugin's own settings, and shows nothing for a multi-item citation. Off adds no ZotLit hover result.
A durable annotation link shows its annotation under both Citation popover and Page preview. Under Page preview, it waits for Ctrl (Windows) or Command (macOS) exactly when the Page preview plugin's ZotLit citation key row asks for it, as a citation does.
Require modifier key
Show the popover only while holding Ctrl (Windows) or Command (macOS). The sub-page appears only while Hover action is Citation popover, and lists toggles for editing modes and the graph view.
| Label | Key | Control | Default |
|---|---|---|---|
| Source mode | citation.hover-require-mod-source | Toggle | On |
| Live Preview | citation.hover-require-mod-live-preview | Toggle | Off |
| Reading view | citation.hover-require-mod-reading | Toggle | Off |
| Graph view | citation.hover-require-mod-graph | Toggle | Off |
Each toggle applies to its editing mode or the graph view. ZotLit checks the modifier when the pointer arrives.
Formatting
| Label | Key | Control | Default | Dependency | Storage |
|---|---|---|---|---|---|
| Citation locale | citation.locale | Text | Style default | None | Synced |
| Pandoc engine | None | Install or Uninstall action | Not installed | Network for install | Per device |
Citation and references style is on the main page. See Citation and references style.
Citation locale: Sets the language for citation terms, dates, names, and sorting. Leave empty to use the language the selected style declares.
The field takes a language tag such as en-US, de, or zh-CN. ZotLit rejects any other form with Enter a language code such as en-US, de, or zh-CN..
The locale applies to in-text citations, the References Sidebar, the Citation popover, the copied bibliography, and built-in export. Built-in export applies it to citation processing only: a note that declares Pandoc lang keeps that language, and a note that declares none stays without one.
A note can set its own locale with the standard Pandoc lang property. The property takes the same language tags this field takes. It overrides this setting for that note across in-text citations, the References Sidebar, the Citation popover, the copied bibliography, and built-in export. Built-in export also passes it to Pandoc as the exported document's own language.
A note whose lang is not a language tag stops instead of using this setting. Its citations stay native. The References Sidebar shows its minimal list under the banner This note's document language is invalid, the copy action stays unavailable, and built-in export stops before the dialog opens.
Both note properties are set from the ZotLit: Set citation presentation command, which is also in the note's More options menu. See Commands.
Pandoc engine: Formats in-text citations, references, and exports. Installation applies to every vault on this device.
Before installation, its status reads Not installed. References stay a plain list until you install it.. This supported state does not show a lifecycle notice.
Citation text
One row, after the Formatting group. Citation text: The text inserted when you pick items in the citation suggester. It covers both citation gestures; the template itself decides what the main and the alternate gesture render.
A second line under the description names the document. While the vault holds no citation document, that line reads Using the built-in default.; once the document exists, it is the document's vault path. The document is zotlit-citation.md in the folder set by Settings > ZotLit > Advanced > Template folder.
The row carries two icon-only buttons, whose names below are their tooltips:
| Button | Effect |
|---|---|
| Open citation text | Opens the document in the Template Workbench View. With no document in the vault, it first creates zotlit-citation.md from the built-in citation text. |
| Reset to default | Moves the document to Obsidian's configured trash. Destructive, and present only once the document exists. |
The reset confirmation reads Reset citation text? with the body … will be moved to trash. New citations use the built-in citation text. Reset trashes the file rather than rewriting its contents, so you can recover it from the trash. A notice follows: Citation text reset.
The row adds a warning line in two cases:
| Case | Line |
|---|---|
The document declares language: eta while JavaScript templates are off | The Eta template at … is inactive because JavaScript templates are disabled on this device. |
| The template fails to compile | Compile error — this template will not render until you fix it. It does not fall back to the default. and the engine's own message |
In both cases the citation text is inert. Inserting a citation shows the same message as a notice, and ZotLit does not fall back to the built-in text. See Citation templates for the data a citation template receives, and Citation text for the built-in default.
Native Pandoc workflow
These rows support conversion with a user-installed Pandoc CLI. They are separate from ZotLit's built-in export command.
| Label | Key | Control | Default | Dependency | Storage |
|---|---|---|---|---|---|
| Pandoc citation tutorial | None | Open tutorial action | None | Network to open | None |
| Pandoc integration pair | None | Save integration files action | None | A selected output folder | Writes the selected folder |
| Pandoc CLI guide | None | Read-only guide action | None | None | Per plugin installation |
Pandoc citation tutorial: Opens Build a Pandoc citation workflow at its stable URL.
Pandoc integration pair: Save the version-matched filter and defaults file to one folder. Keep both files together.
Pandoc CLI guide: ZotLit reference for the native Pandoc workflow.
Save integration files writes the pair to the folder you select. See Export a note with citations for ZotLit's built-in workflow.
Zotero
Open this page from Settings > ZotLit > Zotero. It holds the connection to Zotero, the libraries ZotLit reads, and how ZotLit stays current with Zotero.
| Label | Key | Control | Default | Storage |
|---|---|---|---|---|
| Zotero database | (read-only) | Displays the status and resolved zotero.sqlite path, with a refresh action | None | None |
| Zotero location | None | Sub-page with the Zotero location rows | None | None |
Zotero location
Open this sub-page from Settings > ZotLit > Zotero > Zotero location. These rows set where and how ZotLit reads Zotero. Change them when ZotLit cannot find your Zotero library or shows outdated data.
Device Overrides
Zotero profile and
Data directory overrideare stored per device and never sync through the vault. Setting either value on one computer does not affect other computers that share the same vault. When unset, ZotLit auto-detects the default Zotero location. See Use ZotLit on multiple devices for details.
| Label | Key | Control | Default | Storage |
|---|---|---|---|---|
| Zotero profile | (device-local) | Profile picker | Auto-detect | Per device |
| Data directory override | (device-local) | Folder picker | Auto-detect | Per device |
| Read mode | zotero.read-mode | Dropdown | Auto | Synced |
| Source ID | (read-only) | Displays the 8-character hex identifier for the connected Zotero install | None | None |
Read mode options:
| Option | Behavior |
|---|---|
| Auto | Picks the best available mode for your platform. See How ZotLit connects to Zotero for details. |
| Reflink clone | Fast, lightweight snapshot. What Auto uses on macOS and Linux filesystems that support cloning. |
| Full copy | Byte-for-byte copy of the database file. Works on any filesystem but slower and uses more disk space. Auto does not select this mode. |
| Immutable source | Reads the database file directly. What Auto falls back to when cloning is unavailable. Recent edits in Zotero may not appear immediately. |
Libraries
| Label | Key | Control | Default | Dependency | Storage |
|---|---|---|---|---|---|
| Library scope | zotero.library-scope | All libraries, or an editable selected list | All libraries | A readable database | Synced |
Library scope
The libraries ZotLit uses for item search, citation key resolution, and library-wide commands. Everything that already names one item, note, or library keeps that exact target: a menu entry or link from Zotero runs against the library it came from, and a literature note stays tied to its own item.
All libraries follows your Zotero database. A group library you join later is in scope at once, read-only groups included, and a group you leave drops out.
Selected libraries stays exactly as you set it. A group library you join later stays out of scope until you add it.
Add library offers the libraries you have not selected yet, and each row's delete action removes one. The last remaining row has no delete action, so the list is never empty.
Switching to Selected libraries starts at My Library. Switching to All libraries discards the list you had.
ZotLit stores each selection as a stable reference: My Library as itself, a group library by its Zotero group ID. Group names and Zotero's internal library numbers are never stored, so a renamed group keeps its place in the list and shows its current name.
An unavailable library
A selected group can be missing from the connected Zotero database, because you left the group or because you connected a different Zotero data directory. It keeps its place in the list and shows as Group {ID} with the note Unavailable in this Zotero database. Rejoin the group to restore its name, or delete the row to drop it.
Search, citation key resolution, and library-wide commands run over the libraries that are available. A library-wide command states how many selected libraries it had to skip.
While the database is unavailable
ZotLit lists your libraries from the connected Zotero database. While that database is unreadable, the library scope controls are disabled and read Open the Zotero database to edit the library scope..
Your saved scope is untouched. See Fix Zotero changes that do not appear for the connection itself.
Recovery from an invalid scope
ZotLit can fail to read a saved scope, after an edited data.json or a vault synced from a newer ZotLit. It keeps the broken value on disk rather than overwriting it, and an unrelated settings change leaves that value in place.
ZotLit shows Library scope is invalid as a notice once, marks the setting with a standing warning, and searches My Library alone until you repair the setting. The first change you make here writes over the broken value and clears both warnings.
What an upgrade sets
An upgrade from an earlier ZotLit version starts at Selected libraries with My Library, whatever library you had selected before. Widen the scope here to search your group libraries. A fresh installation starts at All libraries .
Sync with Zotero
| Label | Key | Control | Default | Storage |
|---|---|---|---|---|
| ZotLit Companion, the Zotero add-on | None | Open installation guide action | Not installed | None |
| Receive updates from Zotero | server.live-update | Toggle | On | Synced |
| Local server | None | Shows whether the local server is listening, with the Open local server settings action | None | None |
| Watch for changes | zotero.auto-refresh | Toggle | On | Synced |
| Zotero changes not appearing? | None | Open troubleshooting guide action | None | None |
Receive updates from Zotero lets ZotLit answer ZotLit Companion's notifications. The notifications arrive through the local server, which is off by default. Turn on Run a local server in the Local server group for updates to arrive. Open local server settings opens that group. See Set up live updates for the Companion connection.
Editing
| Label | Key | Control | Default | Storage |
|---|---|---|---|---|
| Zotero editing | None | Allow editing, Check connection, and Forget authorization actions | Not allowed | Per device |
Zotero editing
Zotero editing shows whether ZotLit can change annotations in Zotero. Reading annotations needs no permission. Editing needs four things:
- Zotero 10 or later.
- Zotero running on the same computer.
- In Zotero, Allow other applications on this computer to communicate with Zotero turned on, under Settings → Advanced.
- Your permission. Select Allow editing, and when Zotero asks, choose Always Allow. Allow alone leaves editing off.
The row shows only the actions that apply at the moment:
| Action | Shown | Effect |
|---|---|---|
| Allow editing | While ZotLit needs your permission | Asks Zotero for permission to edit. |
| Check connection | While ZotLit cannot reach Zotero or cannot edit through it | Checks the connection to Zotero again and shows the result in a notice. |
| Forget authorization | While this device has a saved permission | Removes the saved permission. Editing stops until you allow it again. |
ZotLit saves the permission for this vault on this device only, in Obsidian's Keychain. Another computer that shares the vault asks for its own permission. See Edit PDF annotations in Obsidian.
Attachments
Open this page from Settings > ZotLit > Attachments.
| Label | Key | Control | Default |
|---|---|---|---|
| Import attachments | attachment.import | Toggle | On |
| Attachment folder | attachment.folder-path | Folder picker | (Obsidian default) |
| Approved folders | (device-local) | Sub-page listing the folders attachments may be imported from | Empty |
Attachment folder is visible only when Import attachments is on.
Generated excerpt images require Import attachments. When it is off, ZotLit creates no new excerpt files for notes. It keeps a verified existing image when possible; otherwise it writes an unavailable-image explanation and source link. The annotation view and its device cache work independently of this setting.
Approved folders
The folders ZotLit may copy attachments from, beyond Zotero's own storage folder, its annotation cache, and the linked-attachment base folder you set in Zotero. This setting protects imports of Zotero linked files. A linked file stays in an external folder instead of being copied into Zotero storage. See Zotero's guide to linked files.
This approval applies to copied content such as images embedded in Child Notes. The ordinary attachment links in a Literature Note point to the original files and do not copy them.
When imported content is outside all approved locations, ZotLit uses a file:// URI. A notice reports how many files it skipped, lists the unapproved source folders, and links to ZotLit settings.
Actions: Add folder (opens a folder picker), and delete on each row.
The sub-page's first row is Import policy: Approval applies to future imports; re-import previously imported notes to copy attachments that were skipped.
Device Overrides
Approved folders are stored per device and never sync through the vault. Approving a folder on one computer grants nothing on another computer, and nothing in another vault.
Reader
Open this page from Settings > ZotLit > Reader. It controls what ZotLit does when it opens a PDF in Obsidian's reader.
| Label | Key | Control | Default | Dependency | Storage |
|---|---|---|---|---|---|
| Reveal the annotation view | reader.focus-annot-view | Toggle | On | None | Synced |
| Open PDF file links in Obsidian | reader.open-file-links | Toggle | On | None | Synced |
| Open annotation links in ZotLit reader | reader.open-annotation-links | Toggle | On | Open PDF file links in Obsidian is on | Synced |
Reveal the annotation view opens the annotation view in the sidebar each time ZotLit opens a PDF. Turn it off to keep the sidebar as it is.
Open PDF file links in Obsidian opens a file link in a note in Obsidian's PDF viewer when the link points to a PDF in your Zotero library. Every other file link opens in your system app. A link you right-click and send to your system app also opens there. Turn it off to open all file links in your system app.
Open annotation links in ZotLit reader opens a durable annotation link in Obsidian's PDF viewer with the annotation selected. When off, the link opens in Zotero. Hovering the link still shows the annotation. Open PDF file links in Obsidian must also be on.
See Open an item's PDF in Obsidian.
Advanced
Open this page from Settings > ZotLit > Advanced.
| Label | Key | Control | Default | Dependency | Storage |
|---|---|---|---|---|---|
| Update notices | release.notices-enabled | Toggle | On | None | Synced |
Update notices opens the Library View after ZotLit updates, with a banner above it that names the new version and links to the release notes.
Template engine
| Label | Key | Control | Default | Dependency | Storage |
|---|---|---|---|---|---|
| Template folder | template.folder | Folder picker | templates | None | Synced |
| JavaScript templates | (per-device gate) | Turn on / Turn off button | Off | None | Per device |
| Trim whitespace before tags | template.auto-trim-leading | Dropdown | Keep | JavaScript templates is on | Synced |
| Trim whitespace after tags | template.auto-trim-trailing | Dropdown | Keep | JavaScript templates is on | Synced |
Template folder is where editable template files, including Profile documents, are created and loaded from.
JavaScript (Eta) templates are gated behind a per-device toggle. Enabling shows a confirmation modal.
The two settings below the gate are visible only when
JavaScript templatesare enabled. Template folder sits above the gate and is always visible.
Options for Trim whitespace before tags and Trim whitespace after tags: Keep, Strip one newline, Strip all whitespace.
Unrecognized ZotLit files
A zotlit- file in the template folder that is neither a template document nor a 2.1 template file gets one diagnostic row in this group:
| Row | Text |
|---|---|
| Unrecognized ZotLit file | ZotLit does not use …. A template document is named zotlit-profile.books.md, zotlit-citation.md, or zotlit-partial.authors.md. |
A file without the zotlit- prefix is ignored and gets no row. See template document naming.
Local Server
| Label | Key | Control | Default | Visibility | Storage |
|---|---|---|---|---|---|
| Run a local server | server.enabled | Toggle | Off | Always | Synced |
| Port | server.port | Number from 1024 to 65535 | 9091 | Server on | Synced |
| Port in use | (read-only) | Active port or status | No listener | Server on | None |
| Hostname | server.hostname | Text | 127.0.0.1 | Server on | Synced |
The server binds to the configured hostname, which defaults to this computer's loopback address. It tries the configured port, then up to 9 higher ports, stopping at 65535. Port in use reports the port actually used. ZotLit Companion's notification URL must use that port.
Turning off Run a local server stops Live Update connections. Receive updates from Zotero keeps its value and is in the Sync with Zotero group on Settings > ZotLit > Zotero.
Logging
| Label | Key | Control | Default | Dependency | Storage |
|---|---|---|---|---|---|
| Log level | log.level | Dropdown | info | None | Synced |
| Write logs to file | log.to-file | Toggle | Off | None | Synced |
| Open log file | None | Action | None | Write logs to file is on | None |
| Save log archive | None | Action | None | Write logs to file is on | None |
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.
Recovery
| Label | Key | Control | Default | Dependency | Storage |
|---|---|---|---|---|---|
| Reset citation index | None | Reset action | None | None | None |
| Reset language packs | None | Reset action | None | None | None |
| Clear excerpt image cache | None | Clear cache action | None | None | Per device and vault |
Reset citation index clears the stored citation key scans and reads your notes again. ZotLit keeps a scan per note so that a restart only re-reads the notes that changed, and the scans are rebuilt from your vault, so nothing in your vault changes. Use it when the references sidebar disagrees with what a note cites. The rebuild runs in the background after you confirm.
Reset language packs removes the downloaded language packs stored on this device and forgets whether ZotLit already offered them. The pack loaded at startup stays in place until you restart Obsidian, after which ZotLit offers to install it again. Use it when translated text looks wrong or outdated.
Excerpt image cache
Clear excerpt image cache removes ZotLit's cached excerpt images for this vault on this device. Select Clear cache in the confirmation to clear it. Saved note images and Zotero's image cache remain unchanged.
The cache survives restarts and has a 256 MiB limit. ZotLit removes the least recently used entries when it needs space. Cleared images are generated again when requested. See Cache and freshness for the PDF file checks and their limits.
Where settings moved
ZotLit 2.2.0 reorganized the settings tab around the literature note. Every row keeps its name, so Obsidian's own settings search still finds a setting by the name you know. Settings new in 2.2.0, such as Highlight mappings, are not listed here; they appear only in their own section above.
| Old location | New location |
|---|---|
| Literature note folder, on the top-level page | The Literature note folder row on the main page |
| Note import page | Settings > ZotLit > Imported notes, except Imported note folder, which is on the main page |
| Frontmatter field list, under the Templates page | The template document, opened with Edit profile from the Templates and properties row on the main page |
| Template folder, on the Templates page | Settings > ZotLit > Advanced > Template folder |
| JavaScript templates and trim, on the Templates page | The Template engine group on Settings > ZotLit > Advanced |
| Citation and Alternate citation, on the Templates page | One Citation text row on Settings > ZotLit > Citations. Both gestures now come from one template. |
| Zotero database page | Settings > ZotLit > Zotero. Zotero database leads the page. The Companion and change-watching rows are in the Sync with Zotero group. |
| Zotero profile, Read mode, and the Advanced group, on the Zotero database page | Settings > ZotLit > Zotero > Zotero location |
| Library page | The Libraries group on Settings > ZotLit > Zotero |
| Live updates page | The Local server group on Settings > ZotLit > Advanced |
| Receive updates from Zotero, on the Live updates page | The Sync with Zotero group on Settings > ZotLit > Zotero |
| Maintenance page | Settings > ZotLit > Advanced |
The legacy template rows for the literature note, the managed region, the annotation, and the note filename are no longer in settings. A literature note's body, filename, and properties come from its Profile's template document.
See also
Last updated on