Repository navigation
Suggestions without a backslash
In math, the first letters of any command now open the suggestion list. Type frac and accept \frac: the plugin replaces frac with \frac{@1@}{@2@}. Before, this worked only for environments such as pmat. The list shows only names that start with what you typed, and it opens after two letters. To get suggestions only after a backslash, turn on Require a backslash.
Macros from the note
If a note defines macros in its math, the plugin suggests them in that note, with a note badge and a preview. The plugin reads \newcommand, \renewcommand, \providecommand, \def, \let, \DeclareMathOperator and \newenvironment. A snippet has a field for each argument that you must give. To stop these suggestions, turn off Suggest macros from the note.
Tab stops
In math, Tab moves to the next stop in this order:
- Past a closing bracket that the plugin or Obsidian added for you, such as the brace after
_or^. - The next snippet field.
- The next
@n@marker in the same math block. - Past the next
),]or}on the line.
Shift+Tab goes back in the same order. When Tab has no stop, it works as usual. The placeholder commands use the same order.
Math without indentation
A new setting, Indent math, is on by default. When you turn it off, Tab and Enter do not indent in math, and snippets and the formatter add no indentation. Blockquote, callout and list prefixes stay.
All other settings stay the same.