Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 526 Bytes

markup-tag-verbatim.md

File metadata and controls

23 lines (16 loc) · 526 Bytes

{% verbatim %}

The {% verbatim %} tag marks entire sections as being raw text that should not be parsed.

{% verbatim %}<p>Hello, {{ name }}</p>{% endverbatim %}

The above will render in the browser exactly as:

<p>Hello, {{ name }}</p>

For example, AngularJS uses the same templating syntax so you can decide which variables to use for each.

<p>Hello {{ name }}, this is parsed by Twig</p>

{% verbatim %}
    <p>Hello {{ name }}, this is parsed by AngularJS</p>
{% endverbatim %}