1package extension
2
3import (
4	"testing"
5
6	"github.com/yuin/goldmark"
7	"github.com/yuin/goldmark/renderer/html"
8	"github.com/yuin/goldmark/testutil"
9)
10
11func TestStrikethrough(t *testing.T) {
12	markdown := goldmark.New(
13		goldmark.WithRendererOptions(
14			html.WithUnsafe(),
15		),
16		goldmark.WithExtensions(
17			Strikethrough,
18		),
19	)
20	testutil.DoTestCaseFile(markdown, "_test/strikethrough.txt", t, testutil.ParseCliCaseArg()...)
21}
22