tangled
alpha
login
or
join now
cameron.stream
/
core
forked from
tangled.org/core
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
appview: remove unnecessary markdown config
anirudh.fi
11 months ago
e5a55738
db0fb162
-5
1 changed file
expand all
collapse all
unified
split
appview
pages
markdown.go
-5
appview/pages/markdown.go
···
6
6
"github.com/yuin/goldmark"
7
7
"github.com/yuin/goldmark/extension"
8
8
"github.com/yuin/goldmark/parser"
9
9
-
"github.com/yuin/goldmark/renderer/html"
10
9
)
11
10
12
11
func renderMarkdown(source string) string {
···
14
13
goldmark.WithExtensions(extension.GFM),
15
14
goldmark.WithParserOptions(
16
15
parser.WithAutoHeadingID(),
17
17
-
),
18
18
-
goldmark.WithRendererOptions(
19
19
-
html.WithHardWraps(),
20
20
-
html.WithXHTML(),
21
16
),
22
17
)
23
18
var buf bytes.Buffer