语法标签
Syntax tags 控制 Liquid 代码的处理和渲染方式。
comment
阻止表达式被渲染或输出。
comment tags 内的任何文本都不会输出,其中的 Liquid 代码会被解析但不会执行。
{% comment %}
content
{% endcomment %}
content:注释的内容。
raw
将任何 Liquid 代码以文本形式输出,而不进行渲染。
{% raw %}
expression
{% endraw %}
expression:要以原文输出而不渲染的表达式。
{% raw %}
{{ 8 | times: 2 }} equals 16.
{% endraw %}
{{ 8 | times: 2 }} equals 16.