Custom link autocomplete
...

New in version 2.2.0

If you have the Quick Preview plugin installed, holding down Alt/Option (by default) will trigger a quick preview of the selected suggestion with the context around it.

In the editor, type \ref (by default). Then, live suggestions for all theorem callouts & equation blocks in the entire vault show up.

  • Enter: insert a link to the selected item.
  • Shift+Enter: insert a link to the note containing the selected item.
  • Cmd+Enter on Mac/Ctrl+Enter on Windows: jump to the selected item by pressing.

Use \tref or \eqref (by default) instead of \ref to suggest only theorems or only equations.

Filter files to be searched
...

  • \ref:r/\tref:r/\eqref:r (by default): search only within recently opened notes
  • \ref:a/\tref:a/\eqref:a (by default): search only within active note
Remark 1.

You can change the trigger strings (e.g. \ref) to whatever you like in the plugin settings.

Remark 2.

There are variants of custom autocomplete. It is recommended to turn off unnecessary ones in the plugin setting to improve performance.

Available search keys
...

Theorem suggestion
...

KeyExample
Environment typedefinition, theorem, ...
Formatted titleDefinition 1.1 (Continuity)
Formatted label[1]def:continuity
Note pathfolder/note.md

Equation suggestion
...

KeyExample
Equation number (if any)(1)
LaTeX source code\lim_{n \to \infty} \int f_n \, d\mu = \int f \, d\mu
Note pathfolder/note.md
Remark 3 (Wikilinks vs. markdown links).

This feature inserts wikilinks (i.e. [[]]) even if you are turning off Use [[Wikilinks]] in the app settings because markdown links are not suitable for dynamically updating the displayed text.


  1. Requires the Include theorem callout label for search target option to be turned on.↩︎