Python jinja2

From wikinotes
Revision as of 02:21, 25 February 2022 by Will (talk | contribs) (Will moved page Jinja2 to Python jinja2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

jinja/jinja2 is a python-based templating language. Generally, it is used as a preprocessor language. A configfile or program is written, and jinja provides an ability to use variables, if statements etc before the final document is written out.

Documentation

official docs https://jinja.palletsprojects.com/en/2.11.x/
builtin filters https://jinja.palletsprojects.com/en/master/templates/#builtin-filters
builtin tests (see select) https://jinja.palletsprojects.com/en/master/templates/#builtin-tests
live parser http://jinja.quantprogramming.com/

Notes

jinja2 usage
jinja2 syntax
jinja2 template syntax