注释 comment 标记让你能够在 Liquid 模板中书写的内容不被输出。任何书写在 comment 起始与结束标记之间的内容都不会被输出,如果是 Liquid 代码则不会被执行。 输入 Anything you put between {% comment %} and {% endcomment %} tags is turned into a comment. 输出 Anything you put between tags is turned into a com...
原始内容 raw 标记临时禁止处理其所包围的代码。如果输出的内容与 Liquid 模板语言有冲突时(例如 Mustache、Handlebars 模板语言)可以避免冲突。 输入 {% raw %} In Handlebars, {{ this }} will be HTML-escaped, but {{{ that }}} will not. {% endraw %} 输出 In Handlebars, {{ this }} will be HTML-escaped, but {{{ ...