diff --git a/docs/content/templates/functions.md b/docs/content/templates/functions.md index 26041ea87..62228632b 100644 --- a/docs/content/templates/functions.md +++ b/docs/content/templates/functions.md @@ -357,6 +357,15 @@ e.g. +## Numbers + +### int + +Creates a `int`. + +e.g. + +* `{{int "123" }}` → 123 ## Strings @@ -488,6 +497,14 @@ e.g. * `{{slicestr "BatMan" 3}}` → "Man" * `{{slicestr "BatMan" 0 3}}` → "Bat" +### string + +Creates a `string`. + +e.g. + +* `{{string "BatMan"}}` → "BatMan" + ### substr Extracts parts of a string, beginning at the character at the specified