obsidian-latex-suite icon indicating copy to clipboard operation
obsidian-latex-suite copied to clipboard

M and n options not working properly [BUG]

Open BOBONA opened this issue 6 months ago • 2 comments

Description

I wanted to make single-line versions of some of my shortcuts but it seems like M (block math mode) and n (inline math mode) work the same way and trigger in both modes.

To Reproduce

I'm using the snippet {trigger: "augment", replacement: "\left[\begin{array}{$0|c}\n$1\n\end{array}\right]", options: "MA"}, but I don't think it matters. Make a new inline math block $$ and type augment.

Expected Behavior

I expect nothing to happen because M should only trigger in block math blocks $$$$

BOBONA avatar Dec 12 '23 15:12 BOBONA