1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-03-01 19:41:31 +00:00

Doc for markdownify

This small function feels important enough to maybe deserve more than these three lines, but this will have to do for now.

This assumes that  gets merged.
This commit is contained in:
bep 2014-11-25 00:47:08 +01:00 committed by spf13
parent 53c707bb1d
commit d616617292

View file

@ -144,6 +144,13 @@ Declares the provided string as "safe" so Go templates will not filter it.
e.g. {{ .Params.CopyrightHTML | safeHtml }}
### markdownify
This will run the string through the Markdown processesor. The result will be declared as "safe" so Go templates will not filter it.
e.g. {{ .Title | markdownify }}
### lower
Convert all characters in string to lowercase.