Sublime Text 2 using aka Emmet zen coding inside the script area

When using Sublime Text 2 with Emmet (formerly Zen Coding) inside the script area (for Mustache.js) we lose fast codes and short abbreviations.

AutoComplete replaces HTML markup with Javascript snippets, which is understandable as we are trying to do HTML markup inside <script id="DataTemplate" type="text/html">.

Do I need to return Zen encoding, for example, fast Emmet codes inside a tag <script>?

+5
source share
1 answer

You can use Ctrl + E to expand abbreviations anywhere: https://github.com/sergeche/emmet-sublime#available-actions

Tab <script> (, JavaScript) , JS.

+10

All Articles