prettier/tests/markdown_table/__snapshots__/jsfmt.spec.js.snap

137 lines
4.9 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`align.md 1`] = `
====================================options=====================================
parsers: ["markdown"]
printWidth: 80
proseWrap: "always"
| printWidth
=====================================input======================================
|a|b|c|
|:--|:-:|--:|
|d|e|f|
=====================================output=====================================
| a | b | c |
| :-- | :-: | --: |
| d | e | f |
================================================================================
`;
exports[`cjk.md 1`] = `
====================================options=====================================
parsers: ["markdown"]
printWidth: 80
proseWrap: "always"
| printWidth
=====================================input======================================
| abc | def | ghi |
| --- | --- | --- |
| 第一欄 | 第二欄 | 第三欄 |
=====================================output=====================================
| abc | def | ghi |
| ------ | ------ | ------ |
| 第一欄 | 第二欄 | 第三欄 |
================================================================================
`;
exports[`emoji.md 1`] = `
====================================options=====================================
parsers: ["markdown"]
printWidth: 80
proseWrap: "always"
| printWidth
=====================================input======================================
| abc | def | ghi |
| --- | --- | --- |
| 👍👍👍 | 👍👍👍 | 👍👍👍 |
=====================================output=====================================
| abc | def | ghi |
| ------ | ------ | ------ |
| 👍👍👍 | 👍👍👍 | 👍👍👍 |
================================================================================
`;
exports[`empty.md 1`] = `
====================================options=====================================
parsers: ["markdown"]
printWidth: 80
proseWrap: "always"
| printWidth
=====================================input======================================
Foo | Bar
--- | ---
X |
Y |
=====================================output=====================================
| Foo | Bar |
| --- | --- |
| X |
| Y |
================================================================================
`;
exports[`escape.md 1`] = `
====================================options=====================================
parsers: ["markdown"]
printWidth: 80
proseWrap: "always"
| printWidth
=====================================input======================================
| a | b | c |
|:--|:-:|--:|
| \\| | \\| | \\| |
=====================================output=====================================
| a | b | c |
| :-- | :-: | --: |
| \\| | \\| | \\| |
================================================================================
`;
exports[`html.md 1`] = `
====================================options=====================================
parsers: ["markdown"]
printWidth: 80
proseWrap: "always"
| printWidth
=====================================input======================================
Default | CLI Override | API Override
--------|--------------|-------------
\`"none"\` | <code>--trailing-comma <none&#124;es5&#124;all></code> | <code>trailingComma: "<none&#124;es5&#124;all>"</code>
=====================================output=====================================
| Default | CLI Override | API Override |
| -------- | ------------------------------------------------------ | ------------------------------------------------------ |
| \`"none"\` | <code>--trailing-comma <none&#124;es5&#124;all></code> | <code>trailingComma: "<none&#124;es5&#124;all>"</code> |
================================================================================
`;
exports[`simple.md 1`] = `
====================================options=====================================
parsers: ["markdown"]
printWidth: 80
proseWrap: "always"
| printWidth
=====================================input======================================
| Title A | Title B | Title C |
|---|---|---|
| content A | content B | content C |
=====================================output=====================================
| Title A | Title B | Title C |
| --------- | --------- | --------- |
| content A | content B | content C |
================================================================================
`;