mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-25 05:44:06 -06:00
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()...)
|
|
}
|