HTML Language injection not highlighting or auto completing.


Hello, I have YAML config file that holds some HTML and CSS.

I tried to use language injection for CSS and it works perfectly, I get color highlights and auto completion.

However, when I try the same with HTML, it does not highlight or suggest any tags.

I've also noticed that when I press alt+enter after injecting a language, in the CSS section I see two options:
1. Edit CSS Fragment
2. Un-inject Language/Reference

When doing the same in the HTML section:
1. Edit Jinja2 Fragment
2. Un-inject Language/Reference

Could it be the my IDE does not recognize this is HTML?

I'm using PyCharm proffesional 2017.1.4

1 comment

Could you please send your file to to let me reproduce this behavior? Thank you.


Please sign in to leave a comment.