atom-jinja2
atom-jinja2 copied to clipboard
Raw blocks should be highlighted as the output language, not a comment
I think raw blocks should be highlighted as the output language.
For example, if the jinja template outputs an HTML file and is using HTML (Jinja Templates)
highlighting, then {% raw %} ... {% endraw%}
blocks should be highlighted as HTML.
Seconded. I'm using Flask + Polymer where my Polymer template is in a {% raw %}
block so that I can take advantage of the template context elsewhere (for instance, dynamic URLs).
(Yes, I should eventually make these Polymer components static files)