From: Armin Ronacher Date: Wed, 11 Apr 2007 21:00:45 +0000 (+0200) Subject: [svn] fixed jinja formatting in docs X-Git-Tag: 2.0rc1~362 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bf247fa3a83f13e1f4702e3524e2c314b2d212aa;p=jinja2.git [svn] fixed jinja formatting in docs --HG-- branch : trunk --- diff --git a/docs/src/designerdoc.txt b/docs/src/designerdoc.txt index 3443aa4..05db1d0 100644 --- a/docs/src/designerdoc.txt +++ b/docs/src/designerdoc.txt @@ -381,8 +381,8 @@ can use expressions. In expressions you can use any of the following operators: ``/`` divide the left operand by the right one. ``{{ 1 / 2 }}`` would return ``0.5``. ``//`` divide the left operand by the right one and return a truncated - integer result: ``{{ 20 // 7 }}`` is ``2``. (*new in - Jinja 1.1*) + integer result: ``{{ 20 // 7 }}`` is ``2``. + *added in Jinja 1.1* ``*`` multiply the left operand with the right one. ``{{ 2 * 2 }}`` would return ``4``. ``**`` raise the left operand to the power of the right