Monorepo for Tangled tangled.org

appview: remove unnecessary markdown config

anirudh.fi f91e2e04 e7bb5e3d

verified
Changed files
-5
appview
pages
-5
appview/pages/markdown.go
··· 6 "github.com/yuin/goldmark" 7 "github.com/yuin/goldmark/extension" 8 "github.com/yuin/goldmark/parser" 9 - "github.com/yuin/goldmark/renderer/html" 10 ) 11 12 func renderMarkdown(source string) string { ··· 14 goldmark.WithExtensions(extension.GFM), 15 goldmark.WithParserOptions( 16 parser.WithAutoHeadingID(), 17 - ), 18 - goldmark.WithRendererOptions( 19 - html.WithHardWraps(), 20 - html.WithXHTML(), 21 ), 22 ) 23 var buf bytes.Buffer
··· 6 "github.com/yuin/goldmark" 7 "github.com/yuin/goldmark/extension" 8 "github.com/yuin/goldmark/parser" 9 ) 10 11 func renderMarkdown(source string) string { ··· 13 goldmark.WithExtensions(extension.GFM), 14 goldmark.WithParserOptions( 15 parser.WithAutoHeadingID(), 16 ), 17 ) 18 var buf bytes.Buffer