Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame^] | 1 | ``verbatim`` |
2 | ============ | ||||
3 | |||||
4 | The ``verbatim`` tag marks sections as being raw text that should not be | ||||
5 | parsed. For example to put Twig syntax as example into a template you can use | ||||
6 | this snippet: | ||||
7 | |||||
8 | .. code-block:: html+twig | ||||
9 | |||||
10 | {% verbatim %} | ||||
11 | <ul> | ||||
12 | {% for item in seq %} | ||||
13 | <li>{{ item }}</li> | ||||
14 | {% endfor %} | ||||
15 | </ul> | ||||
16 | {% endverbatim %} |