Skip to content

Add jinja2 extensions #90

@jayvdb

Description

@jayvdb

Especially helpful is statement support, aka do

http://jinja.pocoo.org/docs/2.10/extensions/#expression-statement

Loop Controls would also be nice syntax to have available.

https://github.com/duelafn/python-jinja2-apci looks very helpful for debugging, and for intentionally breaking templates when backwards compatibility is not possible.

https://github.com/wewearglasses/jinja2-required-variables-extension looks great for performance improvements.

https://github.com/zehome/jinja2-commentif looks good for adding comments without the hash prefix which is a keyword in jinja2

https://github.com/tlatsas/jinja2-highlight would be great for documentation.

While very basic, it would also by good to add https://pypi.org/project/jinja2-git/ , and add new git based information to that extension.

Likewise https://pypi.org/project/jinja2-github/ and https://github.com/hackebrot/jinja2-time

https://github.com/stanfeldman/compressinja looks interesting.

https://github.com/danielchatfield/jinja2_markdown or https://github.com/nrsimha/jingo-markdown might be better as an optional moban extension.

https://github.com/jpscaletti/jinja-includewith is a nice syntax improvement

Note to self: see if https://github.com/mankyd/jinjatag is still usable.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions