Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 6 years ago.
In Notepad++, there is no syntax highlighting for CSS inside a HTML file. Is it possible to enable it?
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 6 years ago.
In Notepad++, there is no syntax highlighting for CSS inside a HTML file. Is it possible to enable it?
I always just create a second np++ file and mark the language as CSS, then once I'm done copy it over to the HTML file. :)
May not answer your exact question, but that's the way I work around it.
This question has been answered in superuser Different Language Syntax Highlighting. To sum it up, np++ does not support this feature with HTML and CSS, but it does with HTML and JS. There are a few links in the responses to the question which should be helpful in finding a tool that does support multiple languages.
My suggestion is to go to np++ and request the feature. If enough of us do it then maybe they will pay attention.
Try another editor similar to Notepad++, SynWrite, it has such a CSS feature.