2017-12-05 21:01:00 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2018-07-03 09:06:29 +03:00
|
|
|
exports[`jsx-comment.md - markdown-verify 1`] = `
|
2018-03-01 15:42:20 +03:00
|
|
|
\`\`\`jsx
|
|
|
|
const Foo = () => {
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
{/*
|
|
|
|
This links to a page that does not yet exist.
|
|
|
|
*/}
|
|
|
|
<hr />
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
\`\`\`
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
\`\`\`jsx
|
|
|
|
const Foo = () => {
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
{/*
|
|
|
|
This links to a page that does not yet exist.
|
|
|
|
*/}
|
|
|
|
<hr />
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
\`\`\`
|
|
|
|
|
|
|
|
`;
|
|
|
|
|
2018-07-03 09:06:29 +03:00
|
|
|
exports[`markdown-preview-enhanced.md - markdown-verify 1`] = `
|
2018-03-15 19:25:39 +03:00
|
|
|
## plain js block
|
|
|
|
|
|
|
|
\`\`\`js
|
|
|
|
console.log( "hello world" );
|
|
|
|
\`\`\`
|
|
|
|
|
|
|
|
## js block with arguments
|
|
|
|
|
|
|
|
\`\`\`js {cmd=node .line-numbers}
|
|
|
|
console.log( "hello world" );
|
|
|
|
\`\`\`
|
2018-07-02 03:22:56 +03:00
|
|
|
|
|
|
|
## js block with arguments and no space
|
|
|
|
|
|
|
|
\`\`\`js{cmd=node .line-numbers}
|
|
|
|
console.log( "hello world" );
|
|
|
|
\`\`\`
|
2018-03-15 19:25:39 +03:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
## plain js block
|
|
|
|
|
|
|
|
\`\`\`js
|
|
|
|
console.log("hello world");
|
|
|
|
\`\`\`
|
|
|
|
|
|
|
|
## js block with arguments
|
|
|
|
|
|
|
|
\`\`\`js {cmd=node .line-numbers}
|
|
|
|
console.log("hello world");
|
|
|
|
\`\`\`
|
|
|
|
|
2018-07-02 03:22:56 +03:00
|
|
|
## js block with arguments and no space
|
|
|
|
|
|
|
|
\`\`\`js{cmd=node .line-numbers}
|
|
|
|
console.log("hello world");
|
|
|
|
\`\`\`
|
|
|
|
|
2018-03-15 19:25:39 +03:00
|
|
|
`;
|
|
|
|
|
2018-07-03 09:06:29 +03:00
|
|
|
exports[`trailing-comma.md - markdown-verify 1`] = `
|
2017-12-05 21:01:00 +03:00
|
|
|
### Some heading
|
|
|
|
|
|
|
|
\`\`\`js
|
|
|
|
someFunctionCall(
|
|
|
|
foo,
|
|
|
|
bar,
|
|
|
|
foobar,
|
|
|
|
sometehingReallyLongAndHairy,
|
|
|
|
somethingElse,
|
|
|
|
breakNow,
|
|
|
|
);
|
|
|
|
\`\`\`
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
### Some heading
|
|
|
|
|
|
|
|
\`\`\`js
|
|
|
|
someFunctionCall(
|
|
|
|
foo,
|
|
|
|
bar,
|
|
|
|
foobar,
|
|
|
|
sometehingReallyLongAndHairy,
|
|
|
|
somethingElse,
|
|
|
|
breakNow,
|
|
|
|
);
|
|
|
|
\`\`\`
|
|
|
|
|
|
|
|
`;
|