autocomplete
Settings
Name
Default value
Description
trigger
''
(empty string)
The character(s) that should trigger the autocomplete menu,
If trigger
is an empty string (default), autocomplete will be disabled.
format
"citekey"
The format in which the item's citekey should be inserted.
Should be one of :
"citekey"
(default)
"citation"
"tag"
"pageref"
display
"citekey"
The text that will be displayed in the inline menu.
Should be either "citekey"
(default) or "zettlr"
(authors-year-title string)
Note : the query will be matched against what is displayed in the menu. This means that, with display: "citekey"
, the query will be matched against the citekey ; with display: "zettlr"
, the query will be matched against the authors-year-title string.
How to enable autocomplete
The autocomplete feature is disabled by default, unless a trigger is defined by the user.
To setup autocomplete, define the autocomplete
property inside of your existing zoteroRoam_settings object :
display: "zettlr"
display: "zettlr"
Last updated