1
Fork 0
goldmark-mark/mark_test.go

22 lines
394 B
Go
Raw Permalink Normal View History

2021-05-22 16:14:10 +00:00
package mark
import (
"testing"
"github.com/yuin/goldmark"
"github.com/yuin/goldmark/renderer/html"
"github.com/yuin/goldmark/testutil"
)
func TestMark(t *testing.T) {
markdown := goldmark.New(
goldmark.WithRendererOptions(
html.WithUnsafe(),
),
goldmark.WithExtensions(
Mark,
),
)
testutil.DoTestCaseFile(markdown, "_test/mark.txt", t, testutil.ParseCliCaseArg()...)
}