-
-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Labels
templatesJinja templatesJinja templates
Description
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)
Metadata
Metadata
Assignees
Labels
templatesJinja templatesJinja templates