From: bep Date: Mon, 24 Nov 2014 23:47:08 +0000 (+0100) Subject: Doc for markdownify X-Git-Tag: v0.13~278 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d6166172;p=brevno-suite%2Fhugo 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 #652 gets merged. --- diff --git a/docs/content/templates/functions.md b/docs/content/templates/functions.md index 4d4d9332..e35c35cd 100644 --- a/docs/content/templates/functions.md +++ b/docs/content/templates/functions.md @@ -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.