Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 547 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 547 Bytes

ES6 String HTML

VSCode Marketplace

Adds syntax highlight support for code, placed in es6 multiline strings:

  • JSX

Installation

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

Example

Example

Usage

const jsx = /*jsx*/`
class Test extends Component {
    render(){
        return <div>
            {this.props.children}
        </div>
    }
}
`
const html = /*jsx*/`
<div>
    {this.props.children}
</div>
`