Escaping Liquid Template Tags

Use the {% raw %} tag if you're working on a Jekyll template and need to be able to escape some of the liquid tags. This is especially useful to be able to include Mustache or Handlebar tags:

{% raw %}
  I want {{% this %}} now!
{% endraw %}

Inside escaped content, you can include non-escaped tags using three curly brackets:

{% raw %}
  I want {{% this %}},
  but I don't want {{{ that }}}!
{% endraw %}

Search

🔎 Searching...