obsidian-latex-suite
obsidian-latex-suite copied to clipboard
[BUG] Cursor placeholder don't work on math environments.
Hello!
Thank you very much for writing this amazing plugin. It has been very helpful for me.
I recently noticed a slight error in the behavior of one of my snippets:
{trigger: "beg", replacement: "\\begin{$0}\n$1\n\\end{$0}\n$2", options: "m", priority: 5},
I would expect the cursor to stay, after specifying the environment between the braces and pressing <Tab>, in the middle of the two lines; but what actually happens is that the cursor goes to the end of the first line, staying after the "begin" closing brace.
It is not an interference with any other snippet since I tested it isolated. It is also strange because this other snippet, for example, works fine.
{trigger: "md", replacement: "$$\n$0\n$$$1", options: "twA"},
I hope I didn't misunderstand something!