joeyuping / quick_latex_obsidian

MIT License
327 stars 21 forks source link

Adding a second $ to the start of a $ .. $ block should not autoclose #107

Open skritch opened 11 months ago

skritch commented 11 months ago

Hi—great plugin! I'm opening some issues for some pain points I've encountered. I'd be happy to try to fix them myself if you're accepting PRs.

If the editor contains:

$x=y$

and then I move the cursor to either side of the initial $ and type another $, intending to upgrade my inline equation to a block equation, the "auto-close $$" behavior kicks in anyway, giving

$$$x=y$

... which is an annoyance every time.