From 5ee53cd55095111904915df313da5bfec880cced Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 26 Dec 2011 11:32:17 +0100 Subject: [PATCH] fixed markup --- doc/templates.rst | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/templates.rst b/doc/templates.rst index 3e0414f..d7db1ef 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -482,16 +482,16 @@ exist: .. code-block:: jinja - # keys as string + {# keys as string #} { 'foo': 'foo', 'bar': 'bar' } - # keys as names (equivalent to the previous hash) -- as of Twig 1.5 + {# keys as names (equivalent to the previous hash) -- as of Twig 1.5 #} { foo: 'foo', bar: 'bar' } - # keys as integer + {# keys as integer #} { 2: 'foo', 4: 'bar' } - # keys as expressions (the expression must be enclosed into parentheses) -- as of Twig 1.5 + {# keys as expressions (the expression must be enclosed into parentheses) -- as of Twig 1.5 #} { (1 + 1): 'foo', (a ~ 'b'): 'bar' } * ``true`` / ``false``: ``true`` represents the true value, ``false`` -- 1.7.2.5