ref: d61661729240269f100818012efa78e1b4fa55e1
parent: 53c707bb1d467cde1645dbd7b073493d7a547fe1
author: bep <[email protected]>
date: Mon Nov 24 19:47:08 EST 2014
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.
--- a/docs/content/templates/functions.md
+++ b/docs/content/templates/functions.md
@@ -144,6 +144,13 @@
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.