We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd4102a commit 166b17fCopy full SHA for 166b17f
present/parse.go
@@ -22,6 +22,7 @@ import (
22
23
"github.com/yuin/goldmark"
24
"github.com/yuin/goldmark/ast"
25
+ "github.com/yuin/goldmark/extension"
26
"github.com/yuin/goldmark/renderer/html"
27
"github.com/yuin/goldmark/text"
28
)
@@ -698,7 +699,7 @@ func trimSpeakerNote(s string) string {
698
699
}
700
701
func renderMarkdown(input []byte) (template.HTML, error) {
- md := goldmark.New(goldmark.WithRendererOptions(html.WithUnsafe()))
702
+ md := goldmark.New(goldmark.WithRendererOptions(html.WithUnsafe()), goldmark.WithExtensions(extension.Table))
703
reader := text.NewReader(input)
704
doc := md.Parser().Parse(reader)
705
fixupMarkdown(doc)
0 commit comments