feat: override output/tag delimiter, fixes #54

This commit is contained in:
harttle
2019-02-21 01:07:32 +08:00
parent 3dbab238ae
commit d20a043fbb
8 changed files with 84 additions and 23 deletions
+4
View File
@@ -196,6 +196,10 @@ Otherwise, undefined variables will cause an exception. Defaults to `false`.
* `trim_output_left` is similiar to `trim_output_right`, whereas the `\n` is exclusive. Defaults to `false`. See [Whitespace Control][whitespace control] for details.
* `tag_delimiter_left` and `tag_delimiter_right` are used to override the delimiter for liquid tags.
* `output_delimiter_left` and `output_delimiter_right` are used to override the delimiter for liquid outputs.
* `greedy` is used to specify whether `trim_left`/`trim_right` is greedy. When set to `true`, all consecutive blank characters including `\n` will be trimed regardless of line breaks. Defaults to `true`.
## Register Filters