visual studio code - How to use $ in emmet -


hi want display $123,456.00 in span. tried span{$123,456.00} , expanding <span>,456.00</span> (i understand $ used render index in loop). how can escape $ in emmet can expansion <span>123,456.00</span>

editor: visual studio code

system: mac os sierra

according emmet docs,

the $ character used tabstops , variables, | character used indicate caret position when snippet expanded. if want output these characters as-is, should use double backslash escape them: \\$ or \\|

so ,

span{\\$123,456.00} should work.

it seems visual studio code has bug , have raised an issue track it.

update

seems fixed.

according developer:

a single escape work in tonight's insiders.

so, span{\$123,456.00} should work in next update of editor.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -