Update differences.md

- Shopify also has `json` filter, I think it is equivalent to liquidJS `json`
This commit is contained in:
BaNgan
2023-03-20 22:58:46 +08:00
committed by Jun Yang
parent 04d62f070a
commit e50267feaa
-1
View File
@@ -30,7 +30,6 @@ Though we're trying to be compatible with the Ruby version, there are still some
* Sort stability. The [sort][sort] stability is also not defined in both shopify/liquid and LiquidJS, but it's [considered stable][stable-sort] for LiquidJS in Node.js 12+ and Google Chrome 70+.
* Trailing unmatched characters inside filters are allowed in shopify/liquid but not in LiquidJS. It means filter arguments without a colon like `{%raw%}{{ "a b" | split " "}}{%endraw%}` will throw an error in LiquidJS. This is intended to improve Liquid usability, see [#208][#208] and [#212][#212].
* LiquidJS has additional tags: [layout][layout] and corresponding `block` tag.
* LiquidJS has additional filters: [json][json].
* LiquidJS [date][date] filter supports `%q` for date ordinals like `{{ '2023/02/02' | date: '%d%q of %b'}}` => `02nd of Feb`
[date]: https://liquidjs.com/filters/date.html