Harttle and Jun Yang
9107eb1b93
feat: support Jekyll style where, #768
2024-11-17 21:33:38 +08:00
Matthieu Bacconnier and GitHub
4490e4b789
Replace trimValue with trimOutput ( #757 )
...
I believe this is a type, as the config has been called trimOutputLeft/Right for 5 years: https://github.com/harttle/liquidjs/blame/83922032b79fd678237de8786f0d75fb33e6312f/src/liquid-options.ts#L54
I'm new to this library, so I could also be missing out on something, in which case feel free to close, but the trimValue options do not exist on Config.
2024-09-28 00:49:37 +08:00
Yang Jun
5b1658c823
docs: fix styles and escape
2024-08-20 03:35:37 +08:00
Jun Yang and GitHub
e941378535
docs: add internal types in apidoc ( #734 )
...
* docs: add internal types in apidoc
* chore: downgrade package-lock version for NodeJS 14
* test: test case when performance uses Date.now
2024-08-17 00:55:24 +08:00
Jun Yang and GitHub
e4aeb023fd
feat: locale support for date filter, #567 ( #723 )
2024-07-22 00:39:44 +08:00
Yang Jun
e443068cb9
feat: DoS prevention, #250
2024-07-09 22:51:11 +08:00
Harttle
df27ac6947
feat: support in-memory template mapping, inspired by @jg-rp #714
2024-07-08 02:25:25 +08:00
Harttle
22b5a12333
fix: report error for malformed else/elsif/endif/endfor, #713
2024-07-05 01:23:33 +08:00
Harttle
d141c4bdd2
docs: update LiquidJS description about dependency
2024-06-25 22:59:44 +08:00
a0ea372764
docs: fix some spelling ( #708 )
...
* spelling: according
Signed-off-by: Josh Soref <[email protected] >
* spelling: asynchronously
Signed-off-by: Josh Soref <[email protected] >
* spelling: background
Signed-off-by: Josh Soref <[email protected] >
* spelling: camel
Signed-off-by: Josh Soref <[email protected] >
* spelling: cannot
Signed-off-by: Josh Soref <[email protected] >
* spelling: case-sensitive
Signed-off-by: Josh Soref <[email protected] >
* spelling: comparison
Signed-off-by: Josh Soref <[email protected] >
* spelling: demos
Signed-off-by: Josh Soref <[email protected] >
* spelling: forloop
Signed-off-by: Josh Soref <[email protected] >
* spelling: formatters
Signed-off-by: Josh Soref <[email protected] >
* spelling: github
Signed-off-by: Josh Soref <[email protected] >
* spelling: guidelines
Signed-off-by: Josh Soref <[email protected] >
* spelling: hashes
Signed-off-by: Josh Soref <[email protected] >
* spelling: https
Signed-off-by: Josh Soref <[email protected] >
* spelling: javascript
Signed-off-by: Josh Soref <[email protected] >
* spelling: keep
Signed-off-by: Josh Soref <[email protected] >
* spelling: natural
Signed-off-by: Josh Soref <[email protected] >
* spelling: neither
Signed-off-by: Josh Soref <[email protected] >
* spelling: no longer
Signed-off-by: Josh Soref <[email protected] >
* spelling: nonexistent
Signed-off-by: Josh Soref <[email protected] >
* spelling: output
Signed-off-by: Josh Soref <[email protected] >
* spelling: polymorphism
Signed-off-by: Josh Soref <[email protected] >
* spelling: precache
Signed-off-by: Josh Soref <[email protected] >
* spelling: programmatically
Signed-off-by: Josh Soref <[email protected] >
* spelling: punctuation
Signed-off-by: Josh Soref <[email protected] >
* spelling: registration
Signed-off-by: Josh Soref <[email protected] >
* spelling: rendered
Signed-off-by: Josh Soref <[email protected] >
* spelling: synchronously
Signed-off-by: Josh Soref <[email protected] >
* spelling: thrown
Signed-off-by: Josh Soref <[email protected] >
* spelling: trimmed
Signed-off-by: Josh Soref <[email protected] >
* spelling: unbalanced
Signed-off-by: Josh Soref <[email protected] >
* chore: use example.com
* chore: fix reference for sidebar.registration
---------
Signed-off-by: Josh Soref <[email protected] >
Co-authored-by: Harttle <[email protected] >
2024-06-17 17:19:46 +08:00
Cosmin Popovici and Jun Yang
3b24f079ea
docs: update broken link
...
updated broken link to shopify/liquid differences page
2024-05-14 18:20:54 +08:00
Yang Jun
47ddc1193b
feat: slugify filter from Jekyll, #443
2024-05-13 23:54:07 +08:00
Yang Jun
50253a98ca
feat: array_to_sentence_string and number_of_words filters from Jekyll, #443
2024-05-13 00:38:52 +08:00
Yang Jun
b12eb8ab4b
feat: escape filters from Jekyll, #443
2024-05-12 15:05:36 +08:00
Yang Jun
4955e75be7
feat: date filters from Jekyll
2024-05-09 23:37:27 +08:00
Yang Jun
842b45c96a
feat: jsonify, inspect, to_integer, normalize_whitespace filters
2024-05-06 21:10:27 +08:00
Yang Jun and Jun Yang
8c7cef9f95
feat: introduce where_exp filter from Jekyll
2024-04-28 23:17:01 +08:00
Yang Jun and Jun Yang
e09657c52b
fix: allow %Z for TimezoneDate, update docs accordingly #684
2024-04-21 15:57:43 +08:00
Jun Yang
2b713b721d
feat: group_by/group_by_exp/find/find_exp from Jekyll, #443
2024-04-14 19:34:07 +08:00
Jun Yang
258780e9a8
feat: pop/shift/unshift filters from Jekyll
2024-04-14 19:34:07 +08:00
Jun Yang
18d55929e5
docs: add docs for push filter
2024-04-14 19:34:07 +08:00
Harttle
01029aba87
docs: try to include all sponsors/backers
2024-03-11 22:06:17 +08:00
629d958b86
feat: Array sum filter ( #661 )
...
* feat(filters): add array sum filter
* docs(filters): array sum filter
* docs: update versoin number in source/filters/sum.md
---------
Co-authored-by: Jun Yang <[email protected] >
2023-12-19 20:05:15 +08:00
Harttle
fe978c8cd9
docs: Liquid Drops
2023-11-29 21:53:09 +08:00
Rasmus Wriedt Larsen and Jun Yang
6ebf2ee427
docs: fix typo (ans => and)
2023-10-31 19:55:19 +08:00
David LJ and Jun Yang
7009a054f3
docs: fix options link in setup tutorial
2023-08-19 23:53:14 +08:00
Nick Reilingh and GitHub
5facd99a27
chore: grammar/typo fixes for differences.md ( #634 )
2023-08-08 21:58:39 +08:00
Harttle
3f4f328572
docs: update LiquidJS contributors and users
2023-07-16 14:22:54 +08:00
Harttle
e9da7f39de
docs: add contributing.md into docs/.../contribution-guidelines.md
2023-06-04 02:15:36 +08:00
Mahyar Pasarzangene and GitHub
1bddd60b01
fix: update remove.md ( #601 )
...
The output was wrong. Filter would replace the rain all over the text.
2023-03-22 00:54:30 +08:00
BaNgan and Jun Yang
e50267feaa
Update differences.md
...
- Shopify also has `json` filter, I think it is equivalent to liquidJS `json`
2023-03-20 22:58:46 +08:00
Harttle and Jun Yang
da93102c1c
chore: upgrade API doc to latest typedoc, fixes #593
2023-03-20 00:41:06 +08:00
bobgubko and GitHub
4542ddcfc3
fix: sample FS in render-file.md ( #594 )
2023-03-19 23:42:41 +08:00
Jun Yang
2def145cf6
docs: update docs for ownPropertyOnly, #588
2023-03-04 00:21:41 +08:00
prassie and GitHub
3fb66465c6
feat: LiquidOptions.dateFormat to override default date format ( #587 )
...
doc: updates related to LiquidOptions.dateFormat
doc: revamped the date filter doc for easier reference
2023-02-22 23:56:33 +08:00
Harttle
8ef920928c
docs: add slavivanov and DaRosenberg into contributor list
2023-02-14 22:57:25 +08:00
24c8a1e372
feat: Adds support for options to CLI and improves usability ( #586 )
...
* Improved UX of CLI
* Updated docs and setup tutorial
* Corrected version number in TODO comments
* Downgraded lock file version
* Restored previous lock file
* Removed --keep-output-type option
* Switch to using async IO to avoid problems stdin in some scenarios
https://stackoverflow.com/questions/40362369/stdin-read-fails-on-some-input
https://stackoverflow.com/questions/40362369/stdin-read-fails-on-some-input
* Addressed feedback from code review
* Changed to curl-like systax for specifing inputs as literals, paths or stdin
---------
Co-authored-by: Daniel Rosenberg <[email protected] >
2023-02-14 22:03:00 +08:00
prassie and GitHub
a55f44f095
Added documentation for date ordinals support in date filter via %q ( #581 )
...
* Added date ordinals support in date filter via %q
* fix: validation regex for default date format
* fix: validation regex for default date format
2023-02-04 11:31:30 +08:00
Harttle and Harttle
d24655887f
docs: update docs and demo for Value usage, fixes #568
2022-12-14 02:14:03 +08:00
Jun Yang
a2d949209d
docs: doc for timezone parameter of date filter, #553
2022-12-12 01:35:40 +08:00
Jun Yang
46ffe036a8
docs: zh-cn translation for replace_last, remove_last
2022-12-02 23:54:58 +08:00
James Prior and Jun Yang
8a1efc0f2e
docs: fix remove_first example output
2022-12-02 23:49:59 +08:00
James Prior and Jun Yang
ff4fd44666
docs: remove_last and replace_last
2022-12-02 23:48:50 +08:00
Jun Yang
92992689cd
refactor: Tag class support in registerTag()
2022-11-27 14:04:01 +08:00
Harttle and Harttle
8061e559ac
docs: fix tags sidebar translation
2022-10-23 18:16:55 +08:00
f62b2109f2
docs: add echo and liquid tags Chinese translation ( #549 )
...
* docs: add echo and liquid tags chinese translation
* Update docs/source/zh-cn/tags/echo.md
Co-authored-by: Jun Yang <[email protected] >
* Update docs/source/zh-cn/tags/echo.md
Co-authored-by: Jun Yang <[email protected] >
* Update docs/source/zh-cn/tags/echo.md
Co-authored-by: Jun Yang <[email protected] >
* Update Liquid.md
* Update Liquid.md
Co-authored-by: Jun Yang <[email protected] >
2022-10-22 23:56:31 +08:00
hongl and Jun Yang
78f2120a85
Update intro-to-liquid.md
2022-10-08 23:02:56 +08:00
Harttle
0f824355fa
docs: zh-cn doc for inline comment
2022-07-08 01:59:09 +08:00
jg-rp and GitHub
2f87708989
feat: inline comment tag ( #514 )
...
* style: remove unnecessary intermediate constant
* feat: add inline comment tag
* refactor: use readIdentifier when reading tag names
* docs: add inline comment tag
2022-07-08 01:46:15 +08:00
Harttle
f88490cd3c
feat: automatic output escaping, closes #500
2022-04-22 02:19:36 +08:00