mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 12:20:40 -07:00
5.4 KiB
5.4 KiB
shopify-liquid
Liquid implementation for Node.js. All tags and filters listed in Shopify Documentation shall be implemented.
Shopify liquid is used by Jekyll and Github Pages.
Tags
Documentation: https://shopify.github.io/liquid/basics/introduction/#tags
- assign
- case/when
- if
- unless
- elsif/else
- for
- break
- continue
- for: limit,offset,range,reversed)
- cycle
- cycle: group)
- tablerow
- tablerow: cols,limit,offset,range
- assign
- capture
- increment
- decrement
Filters
Documentation: https://shopify.github.io/liquid/basics/introduction/#filters
- abs
- append
- capitalize
- ceil
- date
- default
- divided_by
- downcase
- escape
- escape_once
- first
- floor
- join
- last
- lstrip
- map
- minus
- modulo
- newline_to_br
- plus
- prepend
- remove
- remove_first
- replace
- replace_first
- reverse
- round
- rstrip
- size
- slice
- sort
- split
- strip
- strip_html
- strip_newlines
- times
- truncate
- truncatewords
- uniq
- upcase
- url_encode
Async Support
harttle/shopify-liquid do NOT support async rendering, this is by design.
The primary principle of harttle/shopify-liquid is EASY TO EXTEND. Async rendering introduces extra complexity in both implementation and extension.
For template-driven projects, checkout these Liquid-like engines:
