Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 514 Bytes

markup-tag-verbatim.md

File metadata and controls

17 lines (10 loc) · 514 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 %}