Sublime Forum

[Syntax] Highlighting discontinues in HTML within JavaScript

#1

I am using Build 3126. Is there a work-around for this issue?

0 Likes

#2

This is because the code is not valid JavaScript, but rather JSX. You’ll need to install a package providing syntax for JSX and then open your files using that.

https://packagecontrol.io/search/JSX

6 Likes