Skip to content
Myr

Fix incorrect docs - line statements have no default

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Matěj Volf · committed by David Lord · parent eaf0cca · Browse files · 1 file+5 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−1 removed

  • other:+5 added−1 removed

1 file+5 added−1 removed

modified:docs/templates.rst+5 added-1 removed
52 unmodified lines
5354* ``{% ... %}`` for :ref:`Statements <list-of-control-structures>`55* ``{{ ... }}`` for :ref:`Expressions` to print to the template output56* ``{# ... #}`` for :ref:`Comments` not included in the template output57* ``# ... ##`` for :ref:`Line Statements <line-statements>`5758:ref:`Line Statements and Comments <line-statements>` are also possible,59though they don't have default prefix characters. To use them, set60``line_statement_prefix`` and ``line_comment_prefix`` when creating the61:class:`~jinja2.Environment`.626364Template File Extension65~~~~~~~~~~~~~~~~~~~~~~~6667As stated above, any file can be loaded as a template, regardless of
1812 unmodified lines