projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53c707b
)
Doc for markdownify
author
bep
<bjorn.erik.pedersen@gmail.com>
Mon, 24 Nov 2014 23:47:08 +0000
(
00:47
+0100)
committer
spf13
<steve.francia@gmail.com>
Tue, 25 Nov 2014 04:18:18 +0000
(23:18 -0500)
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.
docs/content/templates/functions.md
patch
|
blob
|
history
diff --git
a/docs/content/templates/functions.md
b/docs/content/templates/functions.md
index 4d4d9332cb53700bf45858ed24a6f0e698ae8d60..e35c35cdd6d577179628ba8fd310aba75b43e386 100644
(file)
--- 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.