You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/__snapshots__/react.spec.tsx.snap
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
// Bun Snapshot v1, https://bun.sh/docs/test/snapshots
2
2
3
3
exports[`handles a holistic example 1`] =`
4
-
"<div><h1 id="markdown-syntax">Markdown: Syntax</h1><ul id="ProjectSubmenu"><li><a href="/projects/markdown/" title="Markdown Project Page">Main</a><li><a href="/projects/markdown/basics" title="Markdown Basics">Basics</a></li><li><a class="selected" title="Markdown Syntax Documentation">Syntax</a></li><li><a href="/projects/markdown/license" title="Pricing and License Information">License</a></li><li><a href="/projects/markdown/dingus" title="Online Markdown Web Form">Dingus</a></li></li></ul><ul><li><a href="#overview">Overview</a><ul><li><a href="#philosophy">Philosophy</a></li><li><a href="#html">Inline HTML</a></li><li><a href="#autoescape">Automatic Escaping for Special Characters</a></li></ul></li><li><a href="#block">Block Elements</a><ul><li><a href="#p">Paragraphs and Line Breaks</a></li><li><a href="#header">Headers</a></li><li><a href="#blockquote">Blockquotes</a></li><li><a href="#list">Lists</a></li><li><a href="#precode">Code Blocks</a></li><li><a href="#hr">Horizontal Rules</a></li></ul></li><li><a href="#span">Span Elements</a><ul><li><a href="#link">Links</a></li><li><a href="#em">Emphasis</a></li><li><a href="#code">Code</a></li><li><a href="#img">Images</a></li></ul></li><li><a href="#misc">Miscellaneous</a><ul><li><a href="#backslash">Backslash Escapes</a></li><li><a href="#autolink">Automatic Links</a></li></ul></li></ul><p><strong>Note:</strong> This document is itself written using Markdown; you
4
+
"<div><h1id="markdown-syntax">Markdown: Syntax</h1><ul><li><ahref="#overview">Overview</a><ul><li><ahref="#philosophy">Philosophy</a></li><li><ahref="#html">Inline HTML</a></li><li><ahref="#autoescape">Automatic Escaping for Special Characters</a></li></ul></li><li><ahref="#block">Block Elements</a><ul><li><ahref="#p">Paragraphs and Line Breaks</a></li><li><ahref="#header">Headers</a></li><li><ahref="#blockquote">Blockquotes</a></li><li><ahref="#list">Lists</a></li><li><ahref="#precode">Code Blocks</a></li><li><ahref="#hr">Horizontal Rules</a></li></ul></li><li><ahref="#span">Span Elements</a><ul><li><ahref="#link">Links</a></li><li><ahref="#em">Emphasis</a></li><li><ahref="#code">Code</a></li><li><ahref="#img">Images</a></li></ul></li><li><ahref="#misc">Miscellaneous</a><ul><li><ahref="#backslash">Backslash Escapes</a></li><li><ahref="#autolink">Automatic Links</a></li></ul></li></ul><p><strong>Note:</strong> This document is itself written using Markdown; you
5
5
can <ahref="/projects/markdown/syntax.text">see the source for it by adding '.text' to the URL</a>.</p><hr/><h2id="overview">Overview</h2><h3id="philosophy">Philosophy</h3><p>Markdown is intended to be as easy-to-read and easy-to-write as is feasible.</p><p>Readability, however, is emphasized above all else. A Markdown-formatted
6
6
document should be publishable as-is, as plain text, without looking
7
7
like it's been marked up with tags or formatting instructions. While
it('should interrupt indented list when HTML tag appears at column 0',()=>{
1254
1254
constmd=' * You can have lists, like this one\n\n * Make things **bold** or *italic*\n\n * Embed snippets of `code`\n\n * Create [links](/)\n\n * ...\n\n\n\n<small>Sample content borrowed with thanks from [elm-markdown](http://elm-lang.org/examples/markdown) ❤️</small>'
1255
1255
constresult=p.parser(md)
1256
-
1256
+
1257
1257
// Should have a list, then HTML content (not inside the list)
0 commit comments