diff options
Diffstat (limited to 'docs/content/en/functions/plainify.md')
-rw-r--r-- | docs/content/en/functions/plainify.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/content/en/functions/plainify.md b/docs/content/en/functions/plainify.md new file mode 100644 index 000000000..1258c139a --- /dev/null +++ b/docs/content/en/functions/plainify.md @@ -0,0 +1,27 @@ +--- +title: plainify +linktitle: plainify +description: Strips any HTML and returns the plain text version of the provided string. +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-04-30 +categories: [functions] +menu: + docs: + parent: "functions" +keywords: [strings] +signature: ["plainify INPUT"] +workson: [] +hugoversion: +relatedfuncs: [jsonify] +deprecated: false +aliases: [] +--- + +``` +{{ "<b>BatMan</b>" | plainify }} → "BatMan" +``` + +See also the `.PlainWords`, `.Plain`, and `.RawContent` [page variables][pagevars]. + +[pagevars]: /variables/page/ |