mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-10-07 20:12:04 -04:00

We need to rework the whole template func docs and, while a good idea, this does not fit into that.
652 B
652 B
title | linktitle | description | godocref | date | publishdate | lastmod | categories | menu | 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 |
|
|
|
|
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.