1

I have an HTML element whose contents I want to be treated as Jade (it will be compiled to pure html later). Webstorm obviously doesn't recognise this so it has no syntax highlighting:

enter image description here

If I go to add jade as a language injection, it isn't listed as one of the possible language injections.

enter image description here

However Jade files are recognized fine by webstorm.

enter image description here

Is there any way to add Jade as a possible language injection?

Migwell
  • 18,631
  • 21
  • 91
  • 160

1 Answers1

3

Jade is not an injectable language, it's a templating language that can only be used as a 'master' language for other languages. So the answer is 'no'. If you miss a possibility to inject template languages, please follow IDEA-106449 for updates

lena
  • 90,154
  • 11
  • 145
  • 150