forked from tangled.org/core
Monorepo for Tangled — https://tangled.org

appview: remove unnecessary markdown config

anirudh.fi f91e2e04 e7bb5e3d

verified
Changed files
-5
appview
pages
-5
appview/pages/markdown.go
···
"github.com/yuin/goldmark"
"github.com/yuin/goldmark/extension"
"github.com/yuin/goldmark/parser"
-
"github.com/yuin/goldmark/renderer/html"
)
func renderMarkdown(source string) string {
···
goldmark.WithExtensions(extension.GFM),
goldmark.WithParserOptions(
parser.WithAutoHeadingID(),
-
),
-
goldmark.WithRendererOptions(
-
html.WithHardWraps(),
-
html.WithXHTML(),
),
)
var buf bytes.Buffer