I am using Notepad++ to view some HTML files which also have Javascript and EJS (embedded java script, node.js rendering engine) parts. Unfortunately the syntax highlighting often looks like this:
With EJS you can insert your dynamic stuff like you would do it with PHP in HTML files. The opening tag is <% or <%= and you close it with %>.
Is there any possibility to configure Notepad++ in such a way that syntax highlighting between <% %> is ignored? Or that the whole block is treated like normal text or something?
You can try to use ASP syntax highlighting but you will need to use double quote because in ASP ' is a comment.
Hopefully it's helpful.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With