ArianaKhit / text-snippets-obsidian

Snippets plugin for obsidian
187 stars 23 forks source link

[BUG] word delimiters does not work well #41

Closed TheAnsIs42 closed 2 years ago

TheAnsIs42 commented 2 years ago

I have a snippest looks like:efr : \frac{$tb$}{$tb$}and with no "{}" in the word delimiters field. But the command does not make the cursor jump to second $tb$, the normal snippest like test : a$tb$b$tb$ works well. By the way, the setting botton sometimes disappear in the Third-party plugins screen.

plugin verison: 0.0.8 obsidian verison: 0.14.2

ArianaKhit commented 2 years ago

Fixed in 0.1.0, but without {} in Word delimiters {a}, where a : b is the snippet, won`t be replaced by {b}

ArianaKhit commented 2 years ago

Now you can both use efr : \frac{$tb$}{$tb$} and add {} to delimiters (if you want snippets inside {} to work).