Answer the question
In order to leave comments, you need to log in
How to use scss variables containing "$" character in VS Code snippets?
Greetings. The problem is that in snippets, the $ symbol is used to set the cursor position, and when displaying the text of the snippet, this symbol is not displayed. I tried to add \ before $ but it does not help.
Answer the question
In order to leave comments, you need to log in
Hello. Screen with two slashes.
"test" : {
"prefix": "test",
"body": [
"color: \\$color-primary;"
]
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question