Skip to content

Commit

Permalink
Update differences.md
Browse files Browse the repository at this point in the history
- Shopify also has `json` filter, I think it is equivalent to liquidJS `json`
  • Loading branch information
bangank36 authored and harttle committed Mar 20, 2023
1 parent 04d62f0 commit e50267f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/source/tutorials/differences.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e50267f

Please sign in to comment.