Sublime Forum

Syntax highlighing after </h1 stops to work

#1

As you can see anything after the h1 tag dosnt get highlighted any idea why ?

Tnx in advance

0 Likes

#2

because HTML can’t be embedded in plain JavaScript outside some form of string, so you will need to use a package like https://packagecontrol.io/packages/Babel instead of the standard JavaScript syntax highlighting

3 Likes

#3

amazing man thank you!

0 Likes