jade markup highlighting inside a template in WebStorm

Issue

I use webstorm to work with jade. It works just fine, but when I make a template for knockoutjs:

script(type="text/html", id="my_template-id")
   jade syntax here

So jade inside such template is not highlighted properly. How do I make WebStorm understand, that this is a jade too?

Solution

This is an issue, please vote for it:

http://youtrack.jetbrains.com/issue/WEB-8967

Answered By – Games Brainiac

Answer Checked By – Candace Johnson (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.