Liquid expressions implement business-logic independent filters that are typically implemented in shopify/liquid. This section contains the specification and examples for all the filters implemented by Liquid.

There’s 40+ filters supported by Liquid. These filters can be categorized into these groups:

Categories Filters
Math plus, minus, modulo, times, floor, ceil, round, divided_by, abs, decimal
String append, prepend, capitalize, upcase, downcase, strip, lstrip, rstrip, strip_newlines, split, replace, replace_first, remove, remove_first, truncate, truncatewords
HTML/URI escape, escape_once, url_encode, url_decode, strip_html, newline_to_br, link_to
Array slice, map, sort, sort_natural, uniq, where, first, last, join, reverse
Time time, time_plus, time_minus
PDF HTML Epub Powered by Read The Docs