diff options
author | Hur jung ju <tinydew4@users.noreply.github.com> | 2016-10-20 00:56:03 +0900 |
---|---|---|
committer | Nicolas Gaborit <soreine.plume@gmail.com> | 2016-10-19 17:56:03 +0200 |
commit | b564ef658001f3f7ceb59bbe01a4c99d4ab79509 (patch) | |
tree | 1ed4be352802221015a9a4d9d60df88dc08eb8c2 /docs/templating/builtin.md | |
parent | d6de8f4173ca75b343882735544eb826c671289f (diff) | |
download | gitbook-b564ef658001f3f7ceb59bbe01a4c99d4ab79509.zip gitbook-b564ef658001f3f7ceb59bbe01a4c99d4ab79509.tar.gz gitbook-b564ef658001f3f7ceb59bbe01a4c99d4ab79509.tar.bz2 |
Add 'emphasis' in 'SUMMARY.md' and trimming (#1566)
Diffstat (limited to 'docs/templating/builtin.md')
-rw-r--r-- | docs/templating/builtin.md | 3 |
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. |