diff --git a/middleware/markdown/template.go b/middleware/markdown/template.go index 18d486a1..f9f1f661 100644 --- a/middleware/markdown/template.go +++ b/middleware/markdown/template.go @@ -82,9 +82,13 @@ const ( {{.Doc.title}} - {{range .Styles}} - {{end}}{{range .Scripts}} - {{end}} + + {{- range .Styles}} + + {{- end}} + {{- range .Scripts}} + + {{- end}} {{.Doc.body}}