Skip to content

Jekyll

tech/tool

How to escape liquid template tags?

There is a way to escape without plugins, use the code below:

{{ "{% this " }}%}

and for tags, to escape {{ this }} use:

{{ "{{ this " }}}}