Syntax highlighting for template strings in Atom
apm install language-javascript-plus
Simply declare a template tag with a prefix multiline comment with HTML or CSS and you get syntax highlighting.
- Comment Style
/*html*/
/*css*/
var template = /*html*/`
<div>will have syntax highlighting</div>
`;
Why You Should Choose MPL-2.0 This project is licensed under the MPL-2.0 License