mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-26 13:45:15 -07:00
Updated Whitespace Control (markdown)
+2
-1
@@ -50,8 +50,9 @@ For details of these options, see the [README](https://github.com/harttle/liquid
|
|||||||
|
|
||||||
In greedy mode (enabled by the [greedy option][liquidjs]),
|
In greedy mode (enabled by the [greedy option][liquidjs]),
|
||||||
all consecutive whitespace chars (including `\n`) will be trimmed.
|
all consecutive whitespace chars (including `\n`) will be trimmed.
|
||||||
|
|
||||||
Greedy mode is enabled by default to be compliant with [shopify/liquid][shopify/liquid].
|
Greedy mode is enabled by default to be compliant with [shopify/liquid][shopify/liquid].
|
||||||
(If I'm wrong here, please file an issue)
|
And here is the [test](https://github.com/harttle/liquidjs/blob/master/test/whitespace-control.js)
|
||||||
|
|
||||||
[shopify/liquid]: https://github.com/Shopify/liquid
|
[shopify/liquid]: https://github.com/Shopify/liquid
|
||||||
[liquidjs]: https://github.com/harttle/liquidjs
|
[liquidjs]: https://github.com/harttle/liquidjs
|
||||||
Reference in New Issue
Block a user