Sublime Forum

[Solved] How to make a snippet that outputs as "$(document).foundation();"

#1

How do you add a $ sign to be printed using a snippet.

Here is the question:

Am trying to add a snippet when a “fjs” is typed, it should print
script
$(document).foundation();
/script

Problem :
Am not able to print “$” sign, rest everything is possbile

Please help

0 Likes

#2

Use \$.

http://docs.sublimetext.info/en/latest/extensibility/snippets.html

2 Likes

#3

Thank you so much

0 Likes