ad273dbe5d
git-subtree-dir: backend/goldmark git-subtree-split: 379bf24a47e6ef07f34d7536aead86d8792ac300
20 lines
397 B
Go
20 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()...)
|
|
}
|