projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb1f239
)
[svn] fixed jinja formatting in docs
author
Armin Ronacher
<armin.ronacher@active-4.com>
Wed, 11 Apr 2007 21:00:45 +0000
(23:00 +0200)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Wed, 11 Apr 2007 21:00:45 +0000
(23:00 +0200)
--HG--
branch : trunk
docs/src/designerdoc.txt
patch
|
blob
|
history
diff --git
a/docs/src/designerdoc.txt
b/docs/src/designerdoc.txt
index 3443aa42da8e578964f3051bd82dee09baf04bfa..05db1d007eb8394de27de9a8c177a227860a6790 100644
(file)
--- 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