So, I'm new in Atom, and I noticed that when I use <script> in HTML, it won't highlight anything, I'd like to know if this is normal, and if it is, how to make Atom highlight JavaScript inside <script> tag within HTML?
-
3This is really not an appropriate question for Stack Overflow. This is a question for forums about that product.Scott Marcus– Scott Marcus2019-02-02 21:07:44 +00:00Commented Feb 2, 2019 at 21:07
-
@charlietfl No, I don't mean the HTML, I mean highlight for javascript as it is, f.e. when I have separate .js file, atom highlights functions like require(), but in here it is just white, this is not about the string in javascriptuser10051040– user100510402019-02-02 21:09:22 +00:00Commented Feb 2, 2019 at 21:09
-
Put it in a JavaScript file. Should highlight fine therecharlietfl– charlietfl2019-02-02 21:10:16 +00:00Commented Feb 2, 2019 at 21:10
-
The magic is in the bottom right corner, change auto detect to javascript, please next time don't make @Scott Marcus repeat the wordsKEKUATAN– KEKUATAN2019-03-26 07:29:17 +00:00Commented Mar 26, 2019 at 7:29
Add a comment
|
