Syntax highlighters do not automatically detect that the templates are Jinja templates because they use the .html extension, so they only highlight them as HTML, not Jinja+HTML. I'd like to rename them to use the .html.jinja extension, to enable automatic Jinja+HTML syntax highlighting.
Since templates are overridable, the file names matter, and that's a breaking change. Therefore it needs a deprecation period where we are able to use both the .html and .html.jinja files while emitting warnings when the .html ones are used.
(Also make sure the handler Copier template uses such extensions too)
Syntax highlighters do not automatically detect that the templates are Jinja templates because they use the
.html
extension, so they only highlight them as HTML, not Jinja+HTML. I'd like to rename them to use the.html.jinja
extension, to enable automatic Jinja+HTML syntax highlighting.Since templates are overridable, the file names matter, and that's a breaking change. Therefore it needs a deprecation period where we are able to use both the
.html
and.html.jinja
files while emitting warnings when the.html
ones are used.(Also make sure the handler Copier template uses such extensions too)