LiquidJS implements business-logic independent filters that are typically implemented in shopify/liquid. This section contains the specification and demoes for all the filters implemented by LiquidJS.
+LiquidJS implements business-logic independent filters that are typically implemented in shopify/liquid. This section contains the specification and demos for all the filters implemented by LiquidJS.
There’s 40+ filters supported by LiquidJS. These filters can be categorized into these groups:




Whether
+trim*Left/trim*Rightis greedy. When set totrue, all consecutive blank characters including\nwill be trimed regardless of line breaks. Defaults totrue.Whether
trim*Left/trim*Rightis greedy. When set totrue, all consecutive blank characters including\nwill be trimmed regardless of line breaks. Defaults totrue.OptionaljsUse Javascript Truthiness. Defaults to
+false.Use JavaScript Truthiness. Defaults to
false.