How to inject javascript highlighting into custom placeholders?

I have files with next content:

page.html:

 
<link rel="stylesheet" href="[[ print(getCssHref()); ]]">

page.js:

var content = '<link rel="stylesheet" href="[[ print(getCssHref()); ]]">';


How can I make IDE to highlight javascript between brackets "[[ ... ]]"?

Please sign in to leave a comment.