xeaone / language-javascript-plus

JavaScriptPlus | Syntax Highlighting For Template Strings In Atom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

JavaScriptPlus | Syntax Highlighting For Template Strings In Atom

License:Mozilla Public License 2.0


Languages

Language:JavaScript 79.5%Language:HTML 20.5%