Skip to content
← Back to Community
JS Syntax Highlighting?
Profile icon
h
has Hacker Plan
0xmmalik

Why is javascript syntax highlighting broken? There's no highlighting. I am in a PHP file and using <script> tags.

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Profile icon
KelinDrawn
Profile icon
0xmmalik
Comments
hotnewtop
Profile icon
Coder100

Hi! This is something with the monaco editor. I doubt anyone can do anything about it, but if you are concerned, ping @theangryepicbannana about it. He works on the syntax highlighting.

Report here as well

EDIT

it appears TAEB has rewritten the whole syntax highlighting file, and forgot to add js.

Profile icon
0xmmalik

@Coder100 - Thanks for this conformation. I've reported it in the Feedback Section mentioned by @PattanAhmed and @NoelB33 in their comments.

Profile icon
PattanAhmed

@ManavMalik Hi,
Glad you got helped.
Please mark my answer if this helps or just upvote my comments. :)

Profile icon
PattanAhmed

@ManavMalik Thanks!

Profile icon
Coder100

no problem! @ManavMalik

Profile icon
PattanAhmed

@ManavMalik Hi,
if you thought that you are sure that something opposite is happening,
Then report it in Bugs Section or Feedback Section

Hope this helps.
Please mark my answer if this helps.

Profile icon
NoelB33

I think it’s because it’s a php file. Maybe bring this up on https://repl.it/feedback

Profile icon
0xmmalik

@NoelB33 - Ok, but in the past, even PHP files have had syntax highlighting for JS when they were in <script> tags.