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.
Pressing "delete" once removes two$, putting me back where I started.
Ctrl-Z does get me back to exactly $$.
selecting the entire equation and typing $ once does successfully wrap it; this is what I should be doing, but it would be nice if the auto-close worked as intuitively expected anyway.
It might be nice if the above action added $ to both ends of the block, like selecting the whole equation does now, but this would probably be not what you wanted some of the time.
Like this other Autoclose issue https://github.com/joeyuping/quick_latex_obsidian/issues/105 the behavior depends on whether there's a $ earlier in the line that isn't actually entering TeX mode due to being wrapped in `` or __ or something.
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:
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... which is an annoyance every time.
$
, putting me back where I started.$$
.$
once does successfully wrap it; this is what I should be doing, but it would be nice if the auto-close worked as intuitively expected anyway.$
to both ends of the block, like selecting the whole equation does now, but this would probably be not what you wanted some of the time.$
earlier in the line that isn't actually entering TeX mode due to being wrapped in `` or __ or something.