samuelcolvin / jinjahtml-vscode

Syntax highlighting for jinja(2) html templates in vscode
https://marketplace.visualstudio.com/items?itemName=samuelcolvin.jinjahtml
MIT License
135 stars 53 forks source link

Names not allowed after `endblock` #136

Open bobbwest opened 1 year ago

bobbwest commented 1 year ago

Jinja allows you to put the name of the block after the end tag for better readability: https://jinja.palletsprojects.com/en/latest/templates/#named-block-end-tags

Currently the endblock tags are not matched if they contain a name.

I've created a pull request to add this support: https://github.com/samuelcolvin/jinjahtml-vscode/pull/135