mirror of
https://github.com/yuin/goldmark
synced 2025-03-04 23:04:52 +00:00
19 lines
397 B
Go
19 lines
397 B
Go
package goldmark_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
. "github.com/yuin/goldmark"
|
|
"github.com/yuin/goldmark/parser"
|
|
"github.com/yuin/goldmark/testutil"
|
|
)
|
|
|
|
func TestAttributeAndAutoHeadingID(t *testing.T) {
|
|
markdown := New(
|
|
WithParserOptions(
|
|
parser.WithAttribute(),
|
|
parser.WithAutoHeadingID(),
|
|
),
|
|
)
|
|
testutil.DoTestCaseFile(markdown, "_test/options.txt", t, testutil.ParseCliCaseArg()...)
|
|
}
|