From 5dda13b82ee3c6f978a3a7febd1cb6554dec4d68 Mon Sep 17 00:00:00 2001 From: Jun Yang Date: Tue, 27 Dec 2016 00:30:13 +0800 Subject: [PATCH] Updated Whitespace Control (markdown) --- Whitespace-Control.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Whitespace-Control.md b/Whitespace-Control.md index ae59e5e..97a5520 100644 --- a/Whitespace-Control.md +++ b/Whitespace-Control.md @@ -41,6 +41,10 @@ harttle By specifying `options.trim_left` or `options.trim_right`, you can change this default behavior. -See: +Note that the `trim_right` and `trim_left` only change the behavior of `{{ }}` and `{% %}`, +which means `{{-` (or `{%-`) will always trim whitespace from the left, +and `-}}` (or `-%}`) will always trim whitespace from the right regardless of the `trim_left` and `trim_right` options. + +For details of these options, see: [shopify-liquid]: https://github.com/harttle/shopify-liquid \ No newline at end of file