language-javascript-plus
Syntax highlighting for template strings in Atom
Alexander Elias 8,323 6 3.0.2 MPL-2.0 GitHub

JavaScript Plus

Syntax highlighting for template strings in Atom

Install

apm install language-javascript-plus

Usage

Simply declare a template tag with a prefix multiline comment with HTML or CSS and you get syntax highlighting.

Triggers

  • Comment Style
    • /*html*/
    • /*css*/

Example

var template = /*html*/`
	<div>will have syntax highlighting</div>
`;

Authors

Alexander Elias

License

Why You Should Choose MPL-2.0 This project is licensed under the MPL-2.0 License