Skip to content
Myr

[svn] fixed jinja formatting in docs

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

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent cb1f239 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/src/designerdoc.txt+2 added-2 removed
379 unmodified lines
380 ``{{ 1 - 1 }}`` would return ``0``.381 ``/`` divide the left operand by the right one.382 ``{{ 1 / 2 }}`` would return ``0.5``.383 ``//`` divide the left operand by the right one and return a truncated384 integer result: ``{{ 20 // 7 }}`` is ``2``. (*new in385 Jinja 1.1*)384 integer result: ``{{ 20 // 7 }}`` is ``2``.385 *added in Jinja 1.1*386 ``*`` multiply the left operand with the right one.387 ``{{ 2 * 2 }}`` would return ``4``.388 ``**`` raise the left operand to the power of the right389 operand. ``{{ 2**3 }}`` would return ``8``.
523 unmodified lines