Liquid - markbirbeck/adapter-filters GitHub Wiki
The following filters are part of the Liquid spec, but not all are supported by all Liquid implementations. This means that they need to be supported by this adapter.
Filter | tinyliquid | provided by adapter |
---|---|---|
append | y | concat |
asset_url | ||
camelcase | ||
capitalize | y | |
ceil | ||
collection_img_url | ||
customer_login_link | ||
date | y | date |
default | ||
default_errors | ||
default_pagination | ||
divided_by | y | |
downcase | y | |
escape | y | |
file_url | ||
first | y | |
floor | ||
global_asset_url | ||
handle | ||
handleize | y | |
highlight | ||
highlight_active_tag | ||
img_tag | y | |
join | y | |
json | y | |
last | y | |
link_to | y | |
link_to_add_tag | ||
link_to_remove_tag | ||
link_to_tag | ||
link_to_type | ||
link_to_vendor | ||
lstrip | ||
map | y | |
md5 | ||
minus | y | |
modulo | ||
money | ||
money_with_currency | ||
money_without_currency | ||
newline_to_br | y | |
payment_type_img_url | ||
pluralize | y | |
plus | y | |
prepend | y | |
product_img_url | ||
remove | y | |
remove_first | y | |
replace | y | |
replace_first | y | |
round | y | |
rstrip | ||
script_tag | y | |
shopify_asset_url | ||
size | y | |
slice | ||
sort | y | |
split | y | |
strip | trim | |
strip_html | y | |
strip_newlines | y | |
stylesheet_tag | y | |
times | y | |
to_number | ||
truncate | y | |
truncatewords | y | |
uniq | ||
upcase | y | |
url_escape | ||
url_for_type | ||
url_for_vendor | ||
url_param_escape | ||
weight_with_unit | ||
within |
Some implementations include additional functions that are not part of the Liquid specification:
Filter | tinyliquid |
---|---|
camelize | y |
default | y |
get | y |
indexOf | y |
integer | y |
keys | y |
pagination | y |
random | y |
reverse | y |
sort_by | y |
substr | y |
timestamp | y |
unescape | y |