code_field
code_field copied to clipboard
Sub languages support
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.