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>
31 lines
513 B
JavaScript
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"],
|
|
);
|