1 parent
5146e1a378
commit
30a0b2d2e0
14 files changed
+114
-670
No files matched your search
@@ -132,7 +132,7 @@ const categoryParsers = new Map([
|
|||||||
["lwc", { parsers: ["lwc"], verifyParsers: [], extensions: [".html"] }],
|
["lwc", { parsers: ["lwc"], verifyParsers: [], extensions: [".html"] }],
|
||||||
[
|
[
|
||||||
"markdown",
|
"markdown",
|
||||||
{ parsers: ["markdown"], verifyParsers: [], extensions: [".md"] },
|
{ parsers: ["markdown"], verifyParsers: ["mdx"], extensions: [".md"] },
|
||||||
],
|
],
|
||||||
["mdx", { parsers: ["mdx"], verifyParsers: [], extensions: [".mdx"] }],
|
["mdx", { parsers: ["mdx"], verifyParsers: [], extensions: [".mdx"] }],
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -3613,485 +3613,6 @@ proseWrap: "always"
|
|||||||
================================================================================
|
================================================================================
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`issue-17746.md - {"proseWrap":"always","tabWidth":0} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
tabWidth: 0
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746.md - {"proseWrap":"always","tabWidth":4} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
tabWidth: 4
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746.md - {"proseWrap":"always","tabWidth":999} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
tabWidth: 999
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746.md - {"proseWrap":"always"} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-code-before-list.md - {"proseWrap":"always","tabWidth":0} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
tabWidth: 0
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-code-before-list.md - {"proseWrap":"always","tabWidth":4} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
tabWidth: 4
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-code-before-list.md - {"proseWrap":"always","tabWidth":999} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
tabWidth: 999
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-code-before-list.md - {"proseWrap":"always"} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-code-sibling-nested-list.md - {"proseWrap":"always","tabWidth":0} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
tabWidth: 0
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
\`\`\`
|
|
||||||
b
|
|
||||||
\`\`\`
|
|
||||||
- c
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
\`\`\`
|
|
||||||
b
|
|
||||||
\`\`\`
|
|
||||||
- c
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-code-sibling-nested-list.md - {"proseWrap":"always","tabWidth":4} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
tabWidth: 4
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
\`\`\`
|
|
||||||
b
|
|
||||||
\`\`\`
|
|
||||||
- c
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
\`\`\`
|
|
||||||
b
|
|
||||||
\`\`\`
|
|
||||||
- c
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-code-sibling-nested-list.md - {"proseWrap":"always","tabWidth":999} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
tabWidth: 999
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
\`\`\`
|
|
||||||
b
|
|
||||||
\`\`\`
|
|
||||||
- c
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
\`\`\`
|
|
||||||
b
|
|
||||||
\`\`\`
|
|
||||||
- c
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-code-sibling-nested-list.md - {"proseWrap":"always"} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
\`\`\`
|
|
||||||
b
|
|
||||||
\`\`\`
|
|
||||||
- c
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
\`\`\`
|
|
||||||
b
|
|
||||||
\`\`\`
|
|
||||||
- c
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-fenced-code-then-nested-list.md - {"proseWrap":"always","tabWidth":0} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
tabWidth: 0
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- \`\`\`
|
|
||||||
a
|
|
||||||
\`\`\`
|
|
||||||
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- \`\`\`
|
|
||||||
a
|
|
||||||
\`\`\`
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-fenced-code-then-nested-list.md - {"proseWrap":"always","tabWidth":4} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
tabWidth: 4
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- \`\`\`
|
|
||||||
a
|
|
||||||
\`\`\`
|
|
||||||
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- \`\`\`
|
|
||||||
a
|
|
||||||
\`\`\`
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-fenced-code-then-nested-list.md - {"proseWrap":"always","tabWidth":999} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
tabWidth: 999
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- \`\`\`
|
|
||||||
a
|
|
||||||
\`\`\`
|
|
||||||
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- \`\`\`
|
|
||||||
a
|
|
||||||
\`\`\`
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-fenced-code-then-nested-list.md - {"proseWrap":"always"} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- \`\`\`
|
|
||||||
a
|
|
||||||
\`\`\`
|
|
||||||
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- \`\`\`
|
|
||||||
a
|
|
||||||
\`\`\`
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-indented-code-then-nested-list.md - {"proseWrap":"always","tabWidth":0} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
tabWidth: 0
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-indented-code-then-nested-list.md - {"proseWrap":"always","tabWidth":4} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
tabWidth: 4
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-indented-code-then-nested-list.md - {"proseWrap":"always","tabWidth":999} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
tabWidth: 999
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-indented-code-then-nested-list.md - {"proseWrap":"always"} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["markdown"]
|
|
||||||
proseWrap: "always"
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`long-paragraph.md - {"proseWrap":"always","tabWidth":0} format 1`] = `
|
exports[`long-paragraph.md - {"proseWrap":"always","tabWidth":0} format 1`] = `
|
||||||
====================================options=====================================
|
====================================options=====================================
|
||||||
parsers: ["markdown"]
|
parsers: ["markdown"]
|
||||||
|
|||||||
@@ -0,0 +1,112 @@
|
|||||||
|
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
||||||
|
|
||||||
|
exports[`issue-17746.md format 1`] = `
|
||||||
|
====================================options=====================================
|
||||||
|
parsers: ["markdown", "mdx"]
|
||||||
|
printWidth: 80 (default) |
|
||||||
|
=====================================input======================================
|
||||||
|
- a
|
||||||
|
|
||||||
|
- b
|
||||||
|
|
||||||
|
- c
|
||||||
|
|
||||||
|
|
||||||
|
- d
|
||||||
|
|
||||||
|
=====================================output=====================================
|
||||||
|
- a
|
||||||
|
|
||||||
|
- b
|
||||||
|
|
||||||
|
- c
|
||||||
|
|
||||||
|
- d
|
||||||
|
|
||||||
|
================================================================================
|
||||||
|
`;
|
||||||
|
|
||||||
|
exports[`issue-17746-code-before-list.md format 1`] = `
|
||||||
|
====================================options=====================================
|
||||||
|
parsers: ["markdown", "mdx"]
|
||||||
|
printWidth: 80 (default) |
|
||||||
|
=====================================input======================================
|
||||||
|
- a
|
||||||
|
- b
|
||||||
|
- c
|
||||||
|
- d
|
||||||
|
|
||||||
|
=====================================output=====================================
|
||||||
|
- a
|
||||||
|
- b
|
||||||
|
- c
|
||||||
|
- d
|
||||||
|
|
||||||
|
================================================================================
|
||||||
|
`;
|
||||||
|
|
||||||
|
exports[`issue-17746-code-sibling-nested-list.md format 1`] = `
|
||||||
|
====================================options=====================================
|
||||||
|
parsers: ["markdown", "mdx"]
|
||||||
|
printWidth: 80 (default) |
|
||||||
|
=====================================input======================================
|
||||||
|
- a
|
||||||
|
\`\`\`
|
||||||
|
b
|
||||||
|
\`\`\`
|
||||||
|
- c
|
||||||
|
|
||||||
|
- d
|
||||||
|
|
||||||
|
=====================================output=====================================
|
||||||
|
- a
|
||||||
|
\`\`\`
|
||||||
|
b
|
||||||
|
\`\`\`
|
||||||
|
- c
|
||||||
|
|
||||||
|
- d
|
||||||
|
|
||||||
|
================================================================================
|
||||||
|
`;
|
||||||
|
|
||||||
|
exports[`issue-17746-fenced-code-then-nested-list.md format 1`] = `
|
||||||
|
====================================options=====================================
|
||||||
|
parsers: ["markdown", "mdx"]
|
||||||
|
printWidth: 80 (default) |
|
||||||
|
=====================================input======================================
|
||||||
|
- \`\`\`
|
||||||
|
a
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
- b
|
||||||
|
- c
|
||||||
|
|
||||||
|
=====================================output=====================================
|
||||||
|
- \`\`\`
|
||||||
|
a
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
- b
|
||||||
|
|
||||||
|
- c
|
||||||
|
|
||||||
|
================================================================================
|
||||||
|
`;
|
||||||
|
|
||||||
|
exports[`issue-17746-indented-code-then-nested-list.md format 1`] = `
|
||||||
|
====================================options=====================================
|
||||||
|
parsers: ["markdown", "mdx"]
|
||||||
|
printWidth: 80 (default) |
|
||||||
|
=====================================input======================================
|
||||||
|
- a
|
||||||
|
|
||||||
|
- b
|
||||||
|
|
||||||
|
=====================================output=====================================
|
||||||
|
- a
|
||||||
|
|
||||||
|
- b
|
||||||
|
|
||||||
|
================================================================================
|
||||||
|
`;
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
runFormatTest(import.meta, ["markdown", "mdx"]);
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -368,176 +368,6 @@ opinionated-code-formatter-that-support-many-languages-and-integrate-with-most-e
|
|||||||
================================================================================
|
================================================================================
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`issue-17746.mdx - {"semi":false} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["mdx"]
|
|
||||||
semi: false
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746.mdx format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["mdx"]
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-code-before-list.mdx - {"semi":false} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["mdx"]
|
|
||||||
semi: false
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-code-before-list.mdx format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["mdx"]
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
- d
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
- d
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-fenced-code-then-nested-list.mdx - {"semi":false} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["mdx"]
|
|
||||||
semi: false
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- \`\`\`
|
|
||||||
a
|
|
||||||
\`\`\`
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- \`\`\`
|
|
||||||
a
|
|
||||||
\`\`\`
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-fenced-code-then-nested-list.mdx format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["mdx"]
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- \`\`\`
|
|
||||||
a
|
|
||||||
\`\`\`
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- \`\`\`
|
|
||||||
a
|
|
||||||
\`\`\`
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-indented-code-then-nested-list.mdx - {"semi":false} format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["mdx"]
|
|
||||||
semi: false
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`issue-17746-indented-code-then-nested-list.mdx format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["mdx"]
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`jsx.mdx - {"semi":false} format 1`] = `
|
exports[`jsx.mdx - {"semi":false} format 1`] = `
|
||||||
====================================options=====================================
|
====================================options=====================================
|
||||||
parsers: ["mdx"]
|
parsers: ["mdx"]
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
- a
|
|
||||||
- b
|
|
||||||
- c
|
|
||||||
- d
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
- ```
|
|
||||||
a
|
|
||||||
```
|
|
||||||
|
|
||||||
- b
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
- a
|
|
||||||
|
|
||||||
- b
|
|
||||||
|
|
||||||
- c
|
|
||||||
|
|
||||||
|
|
||||||
- d
|
|
||||||
Reference in new issue
Block a user