Autocomplete
Description
The Autocomplete feature enables you to insert references to Zotero items while you're writing in Roam. It is powered by the tributejs library.
To enable Autocomplete, add a trigger in your user settings - the trigger is a sequence of one or more characters which, when typed in a Roam block, will cause the autocomplete menu to be shown. A common trigger is @
.
Besides the trigger, you may customize the following:
how items are displayed in the autocomplete menu
how items' references are inserted into the Roam block
Display as
Insert as
Custom templates
For both settings, you can choose to use a custom template for rendering items.
Here are the replacements available:
{{authors}} will insert shortened authorship information -
Author et al.
{{citekey}} will insert the citekey -
@someCitekey
{{key}} will insert the raw citekey -
someCitekey
{{summary}} will insert shortened publication information -
Author et al. (2019)
{{summary_or_key}} will insert the same contents as {{summary}}, or default to the item's key if information is missing
{{title}}
{{year}}
Last updated