tth05/obsidian-completr

Feature request: An option to disable adding a newline between \begin blocks in latex

0xGodspeed opened this issue · 1 comments

Current behaviour: after autocompleteing a latex block, the plugin automatically adds a newline between the begin and end blocks.
This is very convenient if you are writing multiline latex ($$ $$) but not if you are writing it inline ($ $).
It would be really nice if the plugin only adds a newline in multiline mode.
I encountered this problem while trying to write inline 2x2 matrices using $\begin{bmatrix} \end{bmatrix}$.

tth05 commented

Good catch! I adjusted the behavior fa12876