增加markdown支持。

This commit is contained in:
2026-07-28 15:51:54 +08:00
parent 98161a2fe8
commit 21be62fa7c
15 changed files with 353 additions and 6 deletions
+1
View File
@@ -22,6 +22,7 @@ func templateFuncs() template.FuncMap {
"html": func(s string) template.HTML {
return template.HTML(s)
},
"markdown": RenderMarkdown,
}
}