obsidian-latex-suite
obsidian-latex-suite copied to clipboard
[BUG] Math mode snippets trigger inside \text{}
Description
While writing text inside \text{}
, snippets with the "m"
option are triggered
To Reproduce
$$\text{text with math inside $\sum$ }$$
writing something like gg
inside \text
but outside $$
will trigger the snippet (\gg
in this case)
Expected Behavior
The snippet should not trigger if it has the "m"
option set
Additional Info
https://github.com/artisticat1/obsidian-latex-suite/assets/42670032/068ba7dc-7328-4c3b-856d-1d466e16aa27