The highlight package detects when more than one languages are in a text and treat them accordingly.
Like the xml language switch to javascript whenever it detects a tag of script. But this somehow doesn't work with this package.
I tried looking into your code it might be related to how you are registering the languages.
The
highlight
package detects when more than one languages are in a text and treat them accordingly. Like thexml
language switch tojavascript
whenever it detects a tag ofscript
. But this somehow doesn't work with this package. I tried looking into your code it might be related to how you are registering the languages.