Jinja 101

Playground for jinja2 templates

If this is set to True the first newline after a block is removed (block, not variable tag!). Defaults to False.
If this is set to True leading spaces and tabs are stripped from the start of a line to a block. Defaults to False.
Preserve the trailing newline when rendering templates. The default is False, which causes a single newline, if present, to be stripped from the end of the template.
The sequence that starts a newline. Must be one of '\r', '\n' or '\r\n'. The default is '\n' which is a useful default for Linux and OS X systems as well as web applications.
List of Jinja extensions to use. This can either be import paths as strings or extension classes. For more information have a look at the extensions documentation.
Undefined or a subclass of it that is used to represent undefined values in the template
Filter imported from tools