In order to make Notepad++
highlight embedded Perl templates as HTML I've added .ep
file extension in style configurator. However, it is very common to have large chunks of pure Perl code in these .ep
files, which are marked with <% perl code %>
tags.
Are there any ways of making Notepad++
interpret everything between <%
and %>
as Perl code and highlight it as Perl, while everything outside these tags should be considered HTML?
Templating Engines such as Template Toolkit
have specific syntax that is used inside the delimiters <% perl code %>
that is then converted to and executed as Perl during the template execution (just before rendering) so even if you could have perlish
syntax highlighting in the template's directive blocks it would not be 100% correct.
There are a few editors that support TT style templating here, but if you want it in Notepad++
you will probably have to write the .xml for it (which I imagine a few people will be vary grateful for).
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