Edit on GitHub
Jump to docs navigation

Twig Components / Methods / verbatim

verbatim is a Twig tag mark 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:

{% verbatim %}
    {% for item in seq %}
        <li>{{ item }}</li>
    {% endfor %}
{% endverbatim %}

Source: Twig

Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.