hugoDocs/content/functions/plainify.md
Bud Parr 7fd64f19c8 Merge bp/theme-design branch containing Bud Parr's new design
It's a beautiful thing. A thousand thanks, Bud.

See PR rdwatters/hugo-docs-concept#118
2017-05-26 14:25:22 -05:00

655 B

title linktitle description godocref date publishdate lastmod categories menu tags ns signature workson hugoversion relatedfuncs deprecated aliases
plainify plainify Strips any HTML and returns the plain text version of the provided string. 2017-02-01 2017-02-01 2017-04-30
functions
docs
parent
functions
strings
plainify INPUT
jsonify
false

plainify strips any HTML and returns the plain text version of the provided string.

{{ "<b>BatMan</b>" | plainify }} → "BatMan"

See also the .PlainWords, .Plain, and .RawContent page variables.