Hello!
I am using the latexing package here: latexing.com/
They have a snippet that when I type sec, the following is inserted:
[code]\section{CURSOR HERE} % (fold)
\label{sec:CURSOR_HERE}
% section CURSOR_HERE (end)[/code]
Everywhere it says cursor here is highlighted at once and changed as I type. The interesting part is that under section I type “my title” and the other two places get “my_title” How does the snippet automatically replace spaces with an underscore? I thought it wasnt possible for snippets to run custom commands?
Thanks!