{% literal %}

Outputs text as is, useful if your template contains Liquid syntax. Virtually identical in effect to the raw tag.

Syntax

{% literal %}...{% endliteral %}

Alternative shorthand: {{{ ... }}}.

Examples

<script id="mustache_template" type="text/template">{% literal %}
    {{ object.name }} is {{ object.age }} years old
{% endliteral %}</script>
<script id="mustache_template" type="text/template">{{{
    {{ object.name }} is {{ object.age }} years old
}}}</script>

Developer Overview

Liquid Markup