changing language in a custom directive

have a <Xscript> custom directive inside of which the language is JS and can't get Language Injection to treat it as such in Webstorm.

Tried making it just like the built in style or script tag, but it doesn't recognize it.

1 comment
Comment actions Permalink

Hi there,

Please provide examples:

1) code sample with such custom tag (so it can be copy-pasted and not typed from scratch). As I understand it will be a html file, right?
2) screenshot of Language Injection rule you have tried to create

0

Please sign in to leave a comment.