Remove auto new tab for external links

This commit is contained in:
2026-08-05 18:26:09 +02:00
parent d943fc5596
commit f78ebe7d5d
2 changed files with 1 additions and 58 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ var md goldmark.Markdown
// targets against the filesystem.
func initMarkdown(root string) {
md = goldmark.New(
goldmark.WithExtensions(extension.GFM, extension.Table, newWikiLinkExt(root), newWikiEmbedExt(root), newExtLinksExt()),
goldmark.WithExtensions(extension.GFM, extension.Table, newWikiLinkExt(root), newWikiEmbedExt(root)),
goldmark.WithParserOptions(parser.WithAutoHeadingID()),
goldmark.WithRendererOptions(html.WithUnsafe(), html.WithHardWraps()),
)