Last active
March 2, 2022 09:07
-
-
Save cheshirecode/9fe1542d98d830ea1961bbdb1de88d68 to your computer and use it in GitHub Desktop.
Sublime editor support for HTML within ES6 template strings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Find Sublime config folder: | |
- Windows: %APPDATA%\Sublime Text 2 | |
- OS X: ~/Library/Application Support/Sublime Text 2 | |
- Linux: ~/.config/sublime-text-2 | |
Open up [CONFIG]/Packages/Babel/JavaScript (Babel).sublime-syntax in editor. | |
Search for the section template-string-body, add these to the beginning: | |
- meta_content_scope: text.html.basic.embedded.js | |
- include: scope:text.html.basic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment