Files
test-repo/tests/format/markdown/heading/setext/format.test.js
T
6c339cd882 Upgrade to latest micromark (markdown only) (#18277)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: Jed Fox <git@jedfox.com>
Co-authored-by: seiya <20365512+seiyab@users.noreply.github.com>
2025-12-26 19:43:49 +08:00

31 lines
513 B
JavaScript

import { outdent } from "outdent";
runFormatTest(
{
importMeta: import.meta,
snippets: [
// #17807
outdent`
Multi${"\\"}
Line${" ".repeat(2)}
Setext${"\\"}
Heading
=======
Multi${"\\"}
Line${" ".repeat(2)}
Setext${"\\"}
Heading
-------
`,
// https://spec.commonmark.org/0.31.2/#example-215
outdent`
[foo]: /url${" "}
bar
===
`,
],
},
["markdown"],
);