expansion after dollar sign #90
Answered
by
draivin
jonas-frey
asked this question in
Q&A
-
|
I'm using hsnips to write latex and markdown, and I would like to be able to enter a shortcut immediately after a dollar sign starting math mode. Right now I have to leave a space after the dollar sign for the snippet to trigger. Is it possible to have snippets trigger after dollar signs as well? |
Beta Was this translation helpful? Give feedback.
Answered by
draivin
Oct 19, 2021
Replies: 1 comment 6 replies
-
|
Can you give me an example? I will try solving that. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

It seems that what you need is to add the flag
ito your snippet, as can be seen in the readme, this enables in-word expansion. So it would be something like