Adds syntax highlight support for code, placed in es6 multiline strings:
- JSX
- Install
es6-string-jsx
from extensions (ctrl + shift + x
)
const jsx = /*jsx*/`
class Test extends Component {
render(){
return <div>
{this.props.children}
</div>
}
}
`
const html = /*jsx*/`
<div>
{this.props.children}
</div>
`