summaryrefslogtreecommitdiffstats
path: root/docs/templating/builtin.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/templating/builtin.md')
-rw-r--r--docs/templating/builtin.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/templating/builtin.md b/docs/templating/builtin.md
index 1f05edf..780b0c9 100644
--- a/docs/templating/builtin.md
+++ b/docs/templating/builtin.md
@@ -4,7 +4,8 @@ GitBook provides a serie of builtin filters and blocks to help you write templat
### Filters
-`value|default(default, [boolean])`If value is strictly undefined, return default, otherwise value. If boolean is true, any JavaScript falsy value will return default (false, "", etc)
+`value|default(default, [boolean])`
+If value is strictly undefined, return default, otherwise value. If boolean is true, any JavaScript falsy value will return default (false, "", etc)
`arr|sort(reverse, caseSens, attr)`
Sort arr with JavaScript's arr.sort function. If reverse is true, result will be reversed. Sort is case-insensitive by default, but setting caseSens to true makes it case-sensitive. If attr is passed, will compare attr from each item.