Sublime Forum

Text Colors are wrong after forward slash /

#1

Hi, just curious how to solve the problem (attached a screenshot). it looks like in some cases, after forward slash /, the colors of texts are all wrong.

Any idea?

thanks!

0 Likes

#2

The default JavaScript syntax highlighter does not support JSX. Use a different syntax made for JSX, for example from the Babel package.

1 Like

#3

Problem solved! Thanks! Hope others facing the same issue can see this post too!

0 Likes