I want to have syntax highlighting for Volt, the Phalcon template engine, in Notepad++. The closest I have found online is this one for Twig which seems very similar, so I think perhaps that the idea for Volt came from Twig. However, the syntax highlighting provided by the one for Twig doesn't highlight the HTML code that is also in the file.
I want to rewrite the Twig example so that anything inside the Volt tags gets one syntax highlighting (similar to the Twig highlighting) and anything else gets the usual HTML highlighting. In the same manner that a PHP file has PHP highlighting inside
<?php...?> and HTML highlighting elsewhere.
Can anyone give an example of how to do this? I tried looking at the xml files Notepad++ uses to know what highlighting to use for PHP but couldn't see anything that would explain how the highlighting is different inside and outside the PHP tags.