Search code examples
syntax-highlightingpugwebstorm

jade markup highlighting inside a template in WebStorm


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