Enable Hardwraps

This commit is contained in:
2026-06-25 14:23:15 +02:00
parent 9f6a611dff
commit 5d069683c4
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ func initMarkdown(root string) {
md = goldmark.New(
goldmark.WithExtensions(extension.GFM, extension.Table, newWikiLinkExt(root), newExtLinksExt()),
goldmark.WithParserOptions(parser.WithAutoHeadingID()),
goldmark.WithRendererOptions(html.WithUnsafe()),
goldmark.WithRendererOptions(html.WithUnsafe(), html.WithHardWraps()),
)
}