| 1 | package goldmark_test |
| 2 | |
| 3 | import ( |
| 4 | "testing" |
| 5 | |
| 6 | . "github.com/yuin/goldmark" |
| 7 | "github.com/yuin/goldmark/parser" |
| 8 | "github.com/yuin/goldmark/testutil" |
| 9 | ) |
| 10 | |
| 11 | func TestAttributeAndAutoHeadingID(t *testing.T) { |
| 12 | markdown := New( |
| 13 | WithParserOptions( |
| 14 | parser.WithAttribute(), |
| 15 | parser.WithAutoHeadingID(), |
| 16 | ), |
| 17 | ) |
| 18 | testutil.DoTestCaseFile(markdown, "_test/options.txt", t, testutil.ParseCliCaseArg()...) |
| 19 | } |