joeyuping / quick_latex_obsidian

MIT License
327 stars 21 forks source link

Plugin not working after consecutive inline formula #94

Closed JeffeyChou closed 1 year ago

JeffeyChou commented 1 year ago

Dear author, I really appreciate your plugin that did save lots of time in my work flow.

However, I found a issue that the plugin doesn't working after two consecutive inline formulas. A GIF that shows this problem is showed as follows. issue

joeyuping commented 1 year ago

Hi @JeffeyChou !

Thank you so much for bringing this up !!

This may have been because :

$ equation1 $$ equation2 $

the double dollar signs in between may have been recognized as the start of a full width equation.

it should work if there is a space in between: $ equation1 $ $ equation2 $

is that the case? might this work around be ok?

JeffeyChou commented 1 year ago

Yeah, I appreciate your work!

Though it seems like a small issue, I hope it may provide some useful information for you and other who encounter this problem!