Tag Jinja2 block as specific language

I have a Jinja2 block that holds javascript code. I call this tag {% extrajs %} and it sits at the end of all my HTML pages. The <script> tag is missing, because it's in the parent page, outside the block, so PyCharm doesn't know the block's language is Javascript.

Is it possible to tag the block as being javascript?

Please sign in to leave a comment.