/es6-string-javascript

Highlight JS language in ES6 template literals

MIT LicenseMIT

ES6 String JavaScript

VSCode Marketplace

Adds syntax highlight support for code, placed in ES6 template literals:

  • JavaScript

Installation

  • Install es6-string-javascript from extensions (ctrl + shift + x)

Example

Example

Usage

Simply insert javascript or the comment /*javascript*/ before a template literal.

Tip: Comment in the beginning of untagged template literal is required.

Requirements

  • Visual Studio Code v1.19.0 recommended

Credits

This is a fork of es6-string-css which is a fork of the awesome extension es6-string-html.