I recently switched most of my website code from HTML 4.01 transitional to XHTML 1.0 transitional. I noticed following this that Notepad++ only recognizes the PHP syntax highlighting but not the XHTML. I can change the language to XML of course, but then it only syntax-highlights my XHTML and not my PHP. Do I need some sort of plugin for Notepad++ to syntax highlight both languages?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I recently switched most of my website code from HTML 4.01 transitional to XHTML 1.0 transitional. I noticed following this that Notepad++ only recognizes the PHP syntax highlighting but not the XHTML. I can change the language to XML of course, but then it only syntax-highlights my XHTML and not my PHP. Do I need some sort of plugin for Notepad++ to syntax highlight both languages?
Er, well, just kidding, it appears as though I had left off a closing tag toward the beginning of my code, which unhighlighted everything.
Cheers!