Doc for markdownify - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit d61661729240269f100818012efa78e1b4fa55e1
DIR parent 53c707bb1d467cde1645dbd7b073493d7a547fe1
HTML Author: bep <bjorn.erik.pedersen@gmail.com>
Date: Tue, 25 Nov 2014 00:47:08 +0100
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.
Diffstat:
M docs/content/templates/functions.md | 7 +++++++
1 file changed, 7 insertions(+), 0 deletions(-)
---
DIR diff --git 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.