diff --git a/content/templates/functions.md b/content/templates/functions.md index 984efc9b1..ef576bb60 100644 --- a/content/templates/functions.md +++ b/content/templates/functions.md @@ -448,6 +448,12 @@ Runs the string through the Markdown processor. The result will be declared as " e.g. `{{ .Title | markdownify }}` +### plainify + +Strips any HTML and returns the plain text version. + +e.g. `{{ "BatMan" | plainify }}` → "BatMan" + ### pluralize Pluralize the given word with a set of common English pluralization rules.