注釋 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 {{{ ...