Fix format

This commit is contained in:
bynect
2024-12-25 22:59:59 +01:00
parent 342bb84ba1
commit f9d4156219

View File

@@ -231,14 +231,14 @@ func createBlockquoteStart(alert string) (string, error) {
}
type mermaid struct {
Content string
Theme string
Content string
Theme string
}
func renderMermaid(content string, theme string) (string, error) {
m := mermaid{
Content: content,
Theme: theme,
Content: content,
Theme: theme,
}
lp := path.Join("templates/mermaid/mermaid.html")
tmpl, err := template.ParseFS(defaults.Templates, lp)