|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
|
2 | 2 |
|
3 |
| -exports[`Markdown should render Markdown in span in inline mode 1`] = `"<span class=\\"rsg--base-0\\">Hello <em class=\\"rsg--em-16 rsg--base-0\\">world</em>!</span>"`; |
| 3 | +exports[`Markdown should render Markdown in span in inline mode 1`] = `"<span class=\\"rsg--base-0\\">Hello <em class=\\"rsg--em-15 rsg--base-0\\">world</em>!</span>"`; |
4 | 4 |
|
5 |
| -exports[`Markdown should render Markdown with custom CSS classes 1`] = `"<div><h1 class=\\"rsg--h1-3 rsg--para-1\\">Header</h1><p class=\\"rsg--p-9 rsg--para-1\\">Text with <em class=\\"rsg--em-16 rsg--base-0\\">some</em> <strong class=\\"rsg--strong-17 rsg--base-0\\">formatting</strong> and a <a class=\\"rsg--a-2\\" href=\\"/foo\\">link</a>.</p><p class=\\"rsg--p-9 rsg--para-1\\"><img alt=\\"Image\\" src=\\"/bar.png\\"></p></div>"`; |
| 5 | +exports[`Markdown should render Markdown with custom CSS classes 1`] = `"<div><h1 class=\\"rsg--h1-2 rsg--para-1\\">Header</h1><p class=\\"rsg--p-8 rsg--para-1\\">Text with <em class=\\"rsg--em-15 rsg--base-0\\">some</em> <strong class=\\"rsg--strong-16 rsg--base-0\\">formatting</strong> and a <a href=\\"/foo\\" class=\\"rsg--link-26\\">link</a>.</p><p class=\\"rsg--p-8 rsg--para-1\\"><img alt=\\"Image\\" src=\\"/bar.png\\"></p></div>"`; |
6 | 6 |
|
7 |
| -exports[`Markdown should render check-lists correctly 1`] = `"<ul class=\\"rsg--ul-10 rsg--para-1\\"><li class=\\"rsg--li-12 rsg--base-0\\"><input type=\\"checkbox\\" class=\\"rsg--input-13\\" readonly>list 1</li><li class=\\"rsg--li-12 rsg--base-0\\"><input type=\\"checkbox\\" class=\\"rsg--input-13\\" readonly>list 2</li><li class=\\"rsg--li-12 rsg--base-0\\"><input type=\\"checkbox\\" class=\\"rsg--input-13\\" checked readonly>list 3</li></ul>"`; |
| 7 | +exports[`Markdown should render check-lists correctly 1`] = `"<ul class=\\"rsg--ul-9 rsg--para-1\\"><li class=\\"rsg--li-11 rsg--base-0\\"><input type=\\"checkbox\\" class=\\"rsg--input-12\\" readonly>list 1</li><li class=\\"rsg--li-11 rsg--base-0\\"><input type=\\"checkbox\\" class=\\"rsg--input-12\\" readonly>list 2</li><li class=\\"rsg--li-11 rsg--base-0\\"><input type=\\"checkbox\\" class=\\"rsg--input-12\\" checked readonly>list 3</li></ul>"`; |
8 | 8 |
|
9 |
| -exports[`Markdown should render code blocks without escaping 1`] = `"<pre class=\\"rsg--pre-19 rsg--para-1\\"><code class=\\"rsg--code-18 lang-html\\"><foo></foo></code></pre>"`; |
| 9 | +exports[`Markdown should render code blocks without escaping 1`] = `"<pre class=\\"rsg--pre-18 rsg--para-1\\"><code class=\\"rsg--code-17 lang-html\\"><foo></foo></code></pre>"`; |
10 | 10 |
|
11 |
| -exports[`Markdown should render headings correctly 1`] = `"<div><h1 class=\\"rsg--h1-3 rsg--para-1\\">one</h1><h2 class=\\"rsg--h2-4 rsg--para-1\\">two</h2><h3 class=\\"rsg--h3-5 rsg--para-1\\">three</h3><h4 class=\\"rsg--h4-6 rsg--para-1\\">four</h4><h5 class=\\"rsg--h5-7 rsg--para-1\\">five</h5><h6 class=\\"rsg--h6-8 rsg--para-1\\">six</h6></div>"`; |
| 11 | +exports[`Markdown should render headings correctly 1`] = `"<div><h1 class=\\"rsg--h1-2 rsg--para-1\\">one</h1><h2 class=\\"rsg--h2-3 rsg--para-1\\">two</h2><h3 class=\\"rsg--h3-4 rsg--para-1\\">three</h3><h4 class=\\"rsg--h4-5 rsg--para-1\\">four</h4><h5 class=\\"rsg--h5-6 rsg--para-1\\">five</h5><h6 class=\\"rsg--h6-7 rsg--para-1\\">six</h6></div>"`; |
12 | 12 |
|
13 |
| -exports[`Markdown should render inline code with escaping 1`] = `"<p class=\\"rsg--p-9 rsg--para-1\\">Foo <code class=\\"rsg--code-18\\"><bar></code> baz</p>"`; |
| 13 | +exports[`Markdown should render inline code with escaping 1`] = `"<p class=\\"rsg--p-8 rsg--para-1\\">Foo <code class=\\"rsg--code-17\\"><bar></code> baz</p>"`; |
14 | 14 |
|
15 |
| -exports[`Markdown should render mixed nested lists correctly 1`] = `"<ul class=\\"rsg--ul-10 rsg--para-1\\"><li class=\\"rsg--li-12 rsg--base-0\\">list 1</li><li class=\\"rsg--li-12 rsg--base-0\\"><p class=\\"rsg--p-9 rsg--para-1\\">list 2</p><ol class=\\"rsg--ol-11 rsg--para-1\\" start=\\"1\\"><li class=\\"rsg--li-12 rsg--base-0\\">Sub-list</li><li class=\\"rsg--li-12 rsg--base-0\\">Sub-list</li><li class=\\"rsg--li-12 rsg--base-0\\">Sub-list</li></ol></li><li class=\\"rsg--li-12 rsg--base-0\\">list 3</li></ul>"`; |
| 15 | +exports[`Markdown should render links 1`] = `"<p class=\\"rsg--p-8 rsg--para-1\\">a <a href=\\"http://test.com\\" class=\\"rsg--link-26\\">link</a></p>"`; |
16 | 16 |
|
17 |
| -exports[`Markdown should render ordered lists correctly 1`] = `"<ol class=\\"rsg--ol-11 rsg--para-1\\" start=\\"1\\"><li class=\\"rsg--li-12 rsg--base-0\\">list</li><li class=\\"rsg--li-12 rsg--base-0\\">item</li><li class=\\"rsg--li-12 rsg--base-0\\">three</li></ol>"`; |
| 17 | +exports[`Markdown should render mixed nested lists correctly 1`] = `"<ul class=\\"rsg--ul-9 rsg--para-1\\"><li class=\\"rsg--li-11 rsg--base-0\\">list 1</li><li class=\\"rsg--li-11 rsg--base-0\\"><p class=\\"rsg--p-8 rsg--para-1\\">list 2</p><ol class=\\"rsg--ol-10 rsg--para-1\\" start=\\"1\\"><li class=\\"rsg--li-11 rsg--base-0\\">Sub-list</li><li class=\\"rsg--li-11 rsg--base-0\\">Sub-list</li><li class=\\"rsg--li-11 rsg--base-0\\">Sub-list</li></ol></li><li class=\\"rsg--li-11 rsg--base-0\\">list 3</li></ul>"`; |
18 | 18 |
|
19 |
| -exports[`Markdown should render unordered lists correctly 1`] = `"<ul class=\\"rsg--ul-10 rsg--para-1\\"><li class=\\"rsg--li-12 rsg--base-0\\">list</li><li class=\\"rsg--li-12 rsg--base-0\\">item</li><li class=\\"rsg--li-12 rsg--base-0\\">three</li></ul>"`; |
| 19 | +exports[`Markdown should render ordered lists correctly 1`] = `"<ol class=\\"rsg--ol-10 rsg--para-1\\" start=\\"1\\"><li class=\\"rsg--li-11 rsg--base-0\\">list</li><li class=\\"rsg--li-11 rsg--base-0\\">item</li><li class=\\"rsg--li-11 rsg--base-0\\">three</li></ol>"`; |
| 20 | +
|
| 21 | +exports[`Markdown should render unordered lists correctly 1`] = `"<ul class=\\"rsg--ul-9 rsg--para-1\\"><li class=\\"rsg--li-11 rsg--base-0\\">list</li><li class=\\"rsg--li-11 rsg--base-0\\">item</li><li class=\\"rsg--li-11 rsg--base-0\\">three</li></ul>"`; |
0 commit comments