gmarche/vendor/twig/twig/doc/tags/verbatim.rst

17 lines
366 B
ReStructuredText

``verbatim``
============
The ``verbatim`` tag marks sections as being raw text that should not be
parsed. For example to put Twig syntax as example into a template you can use
this snippet:
.. code-block:: twig
{% verbatim %}
<ul>
{% for item in seq %}
<li>{{ item }}</li>
{% endfor %}
</ul>
{% endverbatim %}