ArianaKhit / text-snippets-obsidian

Snippets plugin for obsidian
187 stars 23 forks source link

a problem with LaTeX #9

Closed Ming0330 closed 2 years ago

Ming0330 commented 3 years ago

Hello there

Thank you for developing this plugin

During use, a problem was found:

When using LaTex's inline announcement, the input format is'$...$', in this case, you cannot replace the custom phrase

For example, even if abc: \dfrac{$end$}{} is defined, but in the case of $abc$, it cannot be replaced with $\dfrac{}{}$

Arax20 commented 3 years ago

Are you talking specifically about expanding $abc$ to trigger the definition for abc? Because with my workflow, I type $abc which expands normally and then I either add a $ to the end of the defintion for abc or just manually type a $ to close the environment.

y9san9 commented 2 years ago

agree with this issue, ran into that problem right now :(

y9san9 commented 2 years ago

@Arax20 please help here :( I made a PR fixing my another issue, but I don't know how to fix this one

y9san9 commented 2 years ago

For me it's useful because I'm doing a lot of math and it's useful for me to have highlighting here

Снимок экрана 2021-11-04 в 21 13 18
ArianaKhit commented 2 years ago

Fixed in 0.0.5