diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-29 15:12:25 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-29 15:12:25 +0000 |
commit | 8c2d06cba79ff8965a4de9467e05e80d7c7f449e (patch) | |
tree | 594d9788ea2ccd5c85c05274d977ddbb999bc697 /glfm_specification | |
parent | 7fd99ae2a4424cf996adcc1a3c3f2a753c0ec5aa (diff) | |
download | gitlab-ce-8c2d06cba79ff8965a4de9467e05e80d7c7f449e.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'glfm_specification')
-rw-r--r-- | glfm_specification/example_snapshots/html.yml | 93 | ||||
-rw-r--r-- | glfm_specification/example_snapshots/prosemirror_json.yml | 1187 |
2 files changed, 1273 insertions, 7 deletions
diff --git a/glfm_specification/example_snapshots/html.yml b/glfm_specification/example_snapshots/html.yml index 834dd49a934..105a0d26409 100644 --- a/glfm_specification/example_snapshots/html.yml +++ b/glfm_specification/example_snapshots/html.yml @@ -2144,6 +2144,7 @@ static: |- <p data-sourcepos="3:1-3:5" dir="auto"><a href="/url" title="title">foo</a></p> wysiwyg: |- + <pre>[foo]: /url "title"</pre> <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title">foo</a></p> 04_07__leaf_blocks__link_reference_definitions__002: canonical: | @@ -2151,6 +2152,7 @@ static: |- <p data-sourcepos="5:1-5:5" dir="auto"><a href="/url" title="the title">foo</a></p> wysiwyg: |- + <pre>[foo]: /url "the title"</pre> <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="the title">foo</a></p> 04_07__leaf_blocks__link_reference_definitions__003: canonical: | @@ -2158,6 +2160,7 @@ static: |- <p data-sourcepos="3:1-3:11" dir="auto"><a href="my_(url)" title="title (with parens)">Foo*bar]</a></p> wysiwyg: |- + <pre>[foo*bar\]]: my_(url) "title (with parens)"</pre> <p><a target="_blank" rel="noopener noreferrer nofollow" href="my_(url)" title="title (with parens)">Foo*bar]</a></p> 04_07__leaf_blocks__link_reference_definitions__004: canonical: | @@ -2165,6 +2168,7 @@ static: |- <p data-sourcepos="5:1-5:9" dir="auto"><a href="my%20url" title="title">Foo bar</a></p> wysiwyg: |- + <pre>[foo bar]: my url "title"</pre> <p><a target="_blank" rel="noopener noreferrer nofollow" href="my%20url" title="title">Foo bar</a></p> 04_07__leaf_blocks__link_reference_definitions__005: canonical: | @@ -2180,6 +2184,11 @@ line2 ">foo</a></p> wysiwyg: |- + <pre>[foo]: /url " + title + line1 + line2 + "</pre> <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title=" title line1 @@ -2204,6 +2213,7 @@ static: |- <p data-sourcepos="4:1-4:5" dir="auto"><a href="/url">foo</a></p> wysiwyg: |- + <pre>[foo]: /url</pre> <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url">foo</a></p> 04_07__leaf_blocks__link_reference_definitions__008: canonical: | @@ -2221,6 +2231,7 @@ static: |- <p data-sourcepos="3:1-3:5" dir="auto"><a href="">foo</a></p> wysiwyg: |- + <pre>[foo]: </pre> <p><a target="_blank" rel="noopener noreferrer nofollow" href="">foo</a></p> 04_07__leaf_blocks__link_reference_definitions__010: canonical: | @@ -2238,6 +2249,7 @@ static: |- <p data-sourcepos="3:1-3:5" dir="auto"><a href="/url%5Cbar*baz" title='foo"bar\baz'>foo</a></p> wysiwyg: |- + <pre>[foo]: /url\bar*baz "foo"bar\baz"</pre> <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url%5Cbar*baz" title="foo"bar\baz">foo</a></p> 04_07__leaf_blocks__link_reference_definitions__012: canonical: | @@ -2246,6 +2258,7 @@ <p data-sourcepos="1:1-1:5" dir="auto"><a href="url">foo</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="url">foo</a></p> + <pre>[foo]: url</pre> 04_07__leaf_blocks__link_reference_definitions__013: canonical: | <p><a href="first">foo</a></p> @@ -2253,12 +2266,15 @@ <p data-sourcepos="1:1-1:5" dir="auto"><a href="first">foo</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="first">foo</a></p> + <pre>[foo]: first</pre> + <pre>[foo]: second</pre> 04_07__leaf_blocks__link_reference_definitions__014: canonical: | <p><a href="/url">Foo</a></p> static: |- <p data-sourcepos="3:1-3:5" dir="auto"><a href="/url">Foo</a></p> wysiwyg: |- + <pre>[foo]: /url</pre> <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url">Foo</a></p> 04_07__leaf_blocks__link_reference_definitions__015: canonical: | @@ -2266,18 +2282,20 @@ static: |- <p data-sourcepos="3:1-3:8" dir="auto"><a href="/%CF%86%CE%BF%CF%85">αγω</a></p> wysiwyg: |- + <pre>[αγω]: /φου</pre> <p><a target="_blank" rel="noopener noreferrer nofollow" href="/%CF%86%CE%BF%CF%85">αγω</a></p> 04_07__leaf_blocks__link_reference_definitions__016: canonical: "" static: "" wysiwyg: |- - <p></p> + <pre>[foo]: /url</pre> 04_07__leaf_blocks__link_reference_definitions__017: canonical: | <p>bar</p> static: |- <p data-sourcepos="1:1-4:3" dir="auto">bar</p> wysiwyg: |- + <pre>[foo]: /url</pre> <p>bar</p> 04_07__leaf_blocks__link_reference_definitions__018: canonical: | @@ -2292,6 +2310,7 @@ static: |- <p data-sourcepos="1:1-2:10" dir="auto">"title" ok</p> wysiwyg: |- + <pre>[foo]: /url</pre> <p>"title" ok</p> 04_07__leaf_blocks__link_reference_definitions__020: canonical: | @@ -2349,6 +2368,7 @@ </blockquote> wysiwyg: |- <h1><a target="_blank" rel="noopener noreferrer nofollow" href="/url">Foo</a></h1> + <pre>[foo]: /url</pre> <blockquote multiline="false"><p>bar</p></blockquote> 04_07__leaf_blocks__link_reference_definitions__024: canonical: | @@ -2359,6 +2379,7 @@ <a id="user-content-bar" class="anchor" href="#bar" aria-hidden="true"></a>bar</h1> <p data-sourcepos="4:1-4:5" dir="auto"><a href="/url">foo</a></p> wysiwyg: |- + <pre>[foo]: /url</pre> <h1>bar</h1> <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url">foo</a></p> 04_07__leaf_blocks__link_reference_definitions__025: @@ -2369,6 +2390,7 @@ <p data-sourcepos="1:1-3:5" dir="auto">=== <a href="/url">foo</a></p> wysiwyg: |- + <pre>[foo]: /url</pre> <p>=== <a target="_blank" rel="noopener noreferrer nofollow" href="/url">foo</a></p> 04_07__leaf_blocks__link_reference_definitions__026: @@ -2381,6 +2403,9 @@ <a href="/bar-url" title="bar">bar</a>, <a href="/baz-url">baz</a></p> wysiwyg: |- + <pre>[foo]: /foo-url "foo"</pre> + <pre>[bar]: /bar-url "bar"</pre> + <pre>[baz]: /baz-url</pre> <p><a target="_blank" rel="noopener noreferrer nofollow" href="/foo-url" title="foo">foo</a>, <a target="_blank" rel="noopener noreferrer nofollow" href="/bar-url" title="bar">bar</a>, <a target="_blank" rel="noopener noreferrer nofollow" href="/baz-url">baz</a></p> @@ -2395,12 +2420,12 @@ </blockquote> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url">foo</a></p> - <blockquote multiline="false"><p></p></blockquote> + <blockquote multiline="false"><pre>[foo]: /url</pre></blockquote> 04_07__leaf_blocks__link_reference_definitions__028: canonical: "" static: "" wysiwyg: |- - <p></p> + <pre>[foo]: /url</pre> 04_08__leaf_blocks__paragraphs__001: canonical: | <p>aaa</p> @@ -4543,7 +4568,7 @@ </li> </ul> wysiwyg: |- - <ul bullet="*"><li><p>a</p></li><li><p>b</p></li><li><p>d</p></li></ul> + <ul bullet="*"><li><p>a</p></li><li><p>b</p><pre>[ref]: /url</pre></li><li><p>d</p></li></ul> 05_04__container_blocks__lists__018: canonical: | <ul> @@ -4880,6 +4905,7 @@ <p data-sourcepos="1:1-1:5" dir="auto"><a href="/bar*" title="ti*tle">foo</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/bar*" title="ti*tle">foo</a></p> + <pre>[foo]: /bar* "ti*tle"</pre> 06_02__inlines__backslash_escapes__013: canonical: | <pre><code class="language-foo+bar">foo @@ -4969,6 +4995,7 @@ <p data-sourcepos="1:1-1:5" dir="auto"><a href="/f%C3%B6%C3%B6" title="föö">foo</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/f%C3%B6%C3%B6" title="föö">foo</a></p> + <pre>[foo]: /föö "föö"</pre> 06_03__inlines__entity_and_numeric_character_references__010: canonical: | <pre><code class="language-föö">foo @@ -6475,6 +6502,7 @@ <p data-sourcepos="1:1-1:10" dir="auto"><a href="/url" title="title">foo</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title">foo</a></p> + <pre>[bar]: /url "title"</pre> 06_07__inlines__links__044: canonical: | <p><a href="/uri">link [foo [bar]]</a></p> @@ -6482,6 +6510,7 @@ <p data-sourcepos="1:1-1:23" dir="auto"><a href="/uri">link [foo [bar]]</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/uri">link [foo [bar]]</a></p> + <pre>[ref]: /uri</pre> 06_07__inlines__links__045: canonical: | <p><a href="/uri">link [bar</a></p> @@ -6489,6 +6518,7 @@ <p data-sourcepos="1:1-1:17" dir="auto"><a href="/uri">link [bar</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/uri">link [bar</a></p> + <pre>[ref]: /uri</pre> 06_07__inlines__links__046: canonical: | <p><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p> @@ -6496,6 +6526,7 @@ <p data-sourcepos="1:1-1:29" dir="auto"><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/uri">link <em>foo </em><strong><em>bar<code>#</code></em></strong></a></p> + <pre>[ref]: /uri</pre> 06_07__inlines__links__047: canonical: | <p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p> @@ -6503,6 +6534,7 @@ <p data-sourcepos="1:1-1:24" dir="auto"><a href="/uri"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="moon" decoding="async" class="lazy" data-src="moon.jpg"></a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/uri"><img src="moon.jpg" alt="moon"></a></p> + <pre>[ref]: /uri</pre> 06_07__inlines__links__048: canonical: | <p>[foo <a href="/uri">bar</a>]<a href="/uri">ref</a></p> @@ -6510,6 +6542,7 @@ <p data-sourcepos="1:1-1:22" dir="auto">[foo <a href="/uri">bar</a>]<a href="/uri">ref</a></p> wysiwyg: |- <p>[foo <a target="_blank" rel="noopener noreferrer nofollow" href="/uri">bar</a>]<a target="_blank" rel="noopener noreferrer nofollow" href="/uri">ref</a></p> + <pre>[ref]: /uri</pre> 06_07__inlines__links__049: canonical: | <p>[foo <em>bar <a href="/uri">baz</a></em>]<a href="/uri">ref</a></p> @@ -6517,6 +6550,7 @@ <p data-sourcepos="1:1-1:27" dir="auto">[foo <em>bar <a href="/uri">baz</a></em>]<a href="/uri">ref</a></p> wysiwyg: |- <p>[foo <em>bar </em><a target="_blank" rel="noopener noreferrer nofollow" href="/uri"><em>baz</em></a>]<a target="_blank" rel="noopener noreferrer nofollow" href="/uri">ref</a></p> + <pre>[ref]: /uri</pre> 06_07__inlines__links__050: canonical: | <p>*<a href="/uri">foo*</a></p> @@ -6524,6 +6558,7 @@ <p data-sourcepos="1:1-1:12" dir="auto">*<a href="/uri">foo*</a></p> wysiwyg: |- <p>*<a target="_blank" rel="noopener noreferrer nofollow" href="/uri">foo*</a></p> + <pre>[ref]: /uri</pre> 06_07__inlines__links__051: canonical: | <p><a href="/uri">foo *bar</a></p> @@ -6531,6 +6566,7 @@ <p data-sourcepos="1:1-1:15" dir="auto"><a href="/uri">foo *bar</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/uri">foo *bar</a></p> + <pre>[ref]: /uri</pre> 06_07__inlines__links__052: canonical: | <p>[foo <bar attr="][ref]"></p> @@ -6538,6 +6574,7 @@ <p data-sourcepos="1:1-1:24" dir="auto">[foo </p> wysiwyg: |- <p>[foo </p> + <pre>[ref]: /uri</pre> 06_07__inlines__links__053: canonical: | <p>[foo<code>][ref]</code></p> @@ -6545,6 +6582,7 @@ <p data-sourcepos="1:1-1:12" dir="auto">[foo<code>][ref]</code></p> wysiwyg: |- <p>[foo<code>][ref]</code></p> + <pre>[ref]: /uri</pre> 06_07__inlines__links__054: canonical: | <p>[foo<a href="http://example.com/?search=%5D%5Bref%5D">http://example.com/?search=][ref]</a></p> @@ -6552,6 +6590,7 @@ <p data-sourcepos="1:1-1:39" dir="auto">[foo<a href="http://example.com/?search=%5D%5Bref%5D" rel="nofollow noreferrer noopener" target="_blank">http://example.com/?search=][ref]</a></p> wysiwyg: |- <p>[foo<a target="_blank" rel="noopener noreferrer nofollow" href="http://example.com/?search=%5D%5Bref%5D">http://example.com/?search=][ref]</a></p> + <pre>[ref]: /uri</pre> 06_07__inlines__links__055: canonical: | <p><a href="/url" title="title">foo</a></p> @@ -6559,6 +6598,7 @@ <p data-sourcepos="1:1-1:10" dir="auto"><a href="/url" title="title">foo</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title">foo</a></p> + <pre>[bar]: /url "title"</pre> 06_07__inlines__links__056: canonical: | <p><a href="/url">Толпой</a> is a Russian word.</p> @@ -6566,12 +6606,14 @@ <p data-sourcepos="1:1-1:47" dir="auto"><a href="/url">Толпой</a> is a Russian word.</p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url">Толпой</a> is a Russian word.</p> + <pre>[толпой]: /url</pre> 06_07__inlines__links__057: canonical: | <p><a href="/url">Baz</a></p> static: |- <p data-sourcepos="4:1-4:14" dir="auto"><a href="/url">Baz</a></p> wysiwyg: |- + <pre>[foo bar]: /url</pre> <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url">Baz</a></p> 06_07__inlines__links__058: canonical: | @@ -6580,6 +6622,7 @@ <p data-sourcepos="1:1-1:11" dir="auto">[foo] <a href="/url" title="title">bar</a></p> wysiwyg: |- <p>[foo] <a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title">bar</a></p> + <pre>[bar]: /url "title"</pre> 06_07__inlines__links__059: canonical: | <p>[foo] @@ -6590,12 +6633,15 @@ wysiwyg: |- <p>[foo] <a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title">bar</a></p> + <pre>[bar]: /url "title"</pre> 06_07__inlines__links__060: canonical: | <p><a href="/url1">bar</a></p> static: |- <p data-sourcepos="5:1-5:10" dir="auto"><a href="/url1">bar</a></p> wysiwyg: |- + <pre>[foo]: /url1</pre> + <pre>[foo]: /url2</pre> <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url1">bar</a></p> 06_07__inlines__links__061: canonical: | @@ -6604,6 +6650,7 @@ <p data-sourcepos="1:1-1:32" dir="auto">[bar][foo<span>!</span>]</p> wysiwyg: |- <p>[bar][foo!]</p> + <pre>[foo!]: /url</pre> 06_07__inlines__links__062: canonical: | <p>[foo][ref[]</p> @@ -6641,12 +6688,14 @@ <p data-sourcepos="1:1-1:12" dir="auto"><a href="/uri">foo</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/uri">foo</a></p> + <pre>[ref\[]: /uri</pre> 06_07__inlines__links__066: canonical: | <p><a href="/uri">bar\</a></p> static: |- <p data-sourcepos="3:1-3:7" dir="auto"><a href="/uri">bar\</a></p> wysiwyg: |- + <pre>[bar\\]: /uri</pre> <p><a target="_blank" rel="noopener noreferrer nofollow" href="/uri">bar\</a></p> 06_07__inlines__links__067: canonical: | @@ -6681,6 +6730,7 @@ <p data-sourcepos="1:1-1:7" dir="auto"><a href="/url" title="title">foo</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title">foo</a></p> + <pre>[foo]: /url "title"</pre> 06_07__inlines__links__070: canonical: | <p><a href="/url" title="title"><em>foo</em> bar</a></p> @@ -6688,6 +6738,7 @@ <p data-sourcepos="1:1-1:13" dir="auto"><a href="/url" title="title"><em>foo</em> bar</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title"><em>foo</em> bar</a></p> + <pre>[*foo* bar]: /url "title"</pre> 06_07__inlines__links__071: canonical: | <p><a href="/url" title="title">Foo</a></p> @@ -6695,6 +6746,7 @@ <p data-sourcepos="1:1-1:7" dir="auto"><a href="/url" title="title">Foo</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title">Foo</a></p> + <pre>[foo]: /url "title"</pre> 06_07__inlines__links__072: canonical: | <p><a href="/url" title="title">foo</a> @@ -6705,6 +6757,7 @@ wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title">foo</a> []</p> + <pre>[foo]: /url "title"</pre> 06_07__inlines__links__073: canonical: | <p><a href="/url" title="title">foo</a></p> @@ -6712,6 +6765,7 @@ <p data-sourcepos="1:1-1:5" dir="auto"><a href="/url" title="title">foo</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title">foo</a></p> + <pre>[foo]: /url "title"</pre> 06_07__inlines__links__074: canonical: | <p><a href="/url" title="title"><em>foo</em> bar</a></p> @@ -6719,6 +6773,7 @@ <p data-sourcepos="1:1-1:11" dir="auto"><a href="/url" title="title"><em>foo</em> bar</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title"><em>foo</em> bar</a></p> + <pre>[*foo* bar]: /url "title"</pre> 06_07__inlines__links__075: canonical: | <p>[<a href="/url" title="title"><em>foo</em> bar</a>]</p> @@ -6726,6 +6781,7 @@ <p data-sourcepos="1:1-1:13" dir="auto">[<a href="/url" title="title"><em>foo</em> bar</a>]</p> wysiwyg: |- <p>[<a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title"><em>foo</em> bar</a>]</p> + <pre>[*foo* bar]: /url "title"</pre> 06_07__inlines__links__076: canonical: | <p>[[bar <a href="/url">foo</a></p> @@ -6733,6 +6789,7 @@ <p data-sourcepos="1:1-1:11" dir="auto">[[bar <a href="/url">foo</a></p> wysiwyg: |- <p>[[bar <a target="_blank" rel="noopener noreferrer nofollow" href="/url">foo</a></p> + <pre>[foo]: /url</pre> 06_07__inlines__links__077: canonical: | <p><a href="/url" title="title">Foo</a></p> @@ -6740,6 +6797,7 @@ <p data-sourcepos="1:1-1:5" dir="auto"><a href="/url" title="title">Foo</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title">Foo</a></p> + <pre>[foo]: /url "title"</pre> 06_07__inlines__links__078: canonical: | <p><a href="/url">foo</a> bar</p> @@ -6747,6 +6805,7 @@ <p data-sourcepos="1:1-1:9" dir="auto"><a href="/url">foo</a> bar</p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url">foo</a> bar</p> + <pre>[foo]: /url</pre> 06_07__inlines__links__079: canonical: | <p>[foo]</p> @@ -6754,12 +6813,14 @@ <p data-sourcepos="1:1-1:6" dir="auto">[foo]</p> wysiwyg: |- <p>[foo]</p> + <pre>[foo]: /url "title"</pre> 06_07__inlines__links__080: canonical: | <p>*<a href="/url">foo*</a></p> static: |- <p data-sourcepos="3:1-3:7" dir="auto">*<a href="/url">foo*</a></p> wysiwyg: |- + <pre>[foo*]: /url</pre> <p>*<a target="_blank" rel="noopener noreferrer nofollow" href="/url">foo*</a></p> 06_07__inlines__links__081: canonical: | @@ -6768,6 +6829,8 @@ <p data-sourcepos="1:1-1:10" dir="auto"><a href="/url2">foo</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url2">foo</a></p> + <pre>[foo]: /url1</pre> + <pre>[bar]: /url2</pre> 06_07__inlines__links__082: canonical: | <p><a href="/url1">foo</a></p> @@ -6775,6 +6838,7 @@ <p data-sourcepos="1:1-1:7" dir="auto"><a href="/url1">foo</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url1">foo</a></p> + <pre>[foo]: /url1</pre> 06_07__inlines__links__083: canonical: | <p><a href="">foo</a></p> @@ -6782,6 +6846,7 @@ <p data-sourcepos="1:1-1:7" dir="auto"><a href="">foo</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="">foo</a></p> + <pre>[foo]: /url1</pre> 06_07__inlines__links__084: canonical: | <p><a href="/url1">foo</a>(not a link)</p> @@ -6789,6 +6854,7 @@ <p data-sourcepos="1:1-1:17" dir="auto"><a href="/url1">foo</a>(not a link)</p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url1">foo</a>(not a link)</p> + <pre>[foo]: /url1</pre> 06_07__inlines__links__085: canonical: | <p>[foo]<a href="/url">bar</a></p> @@ -6796,6 +6862,7 @@ <p data-sourcepos="1:1-1:15" dir="auto">[foo]<a href="/url">bar</a></p> wysiwyg: |- <p>[foo]<a target="_blank" rel="noopener noreferrer nofollow" href="/url">bar</a></p> + <pre>[baz]: /url</pre> 06_07__inlines__links__086: canonical: | <p><a href="/url2">foo</a><a href="/url1">baz</a></p> @@ -6803,6 +6870,8 @@ <p data-sourcepos="1:1-1:15" dir="auto"><a href="/url2">foo</a><a href="/url1">baz</a></p> wysiwyg: |- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url2">foo</a><a target="_blank" rel="noopener noreferrer nofollow" href="/url1">baz</a></p> + <pre>[baz]: /url1</pre> + <pre>[bar]: /url2</pre> 06_07__inlines__links__087: canonical: | <p>[foo]<a href="/url1">bar</a></p> @@ -6810,6 +6879,8 @@ <p data-sourcepos="1:1-1:15" dir="auto">[foo]<a href="/url1">bar</a></p> wysiwyg: |- <p>[foo]<a target="_blank" rel="noopener noreferrer nofollow" href="/url1">bar</a></p> + <pre>[baz]: /url1</pre> + <pre>[foo]: /url2</pre> 06_08__inlines__images__001: canonical: | <p><img src="/url" alt="foo" title="title" /></p> @@ -6824,6 +6895,7 @@ <p data-sourcepos="1:1-1:12" dir="auto"><a class="no-attachment-icon" href="train.jpg" target="_blank" rel="noopener noreferrer"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="foo bar" title="train & tracks" decoding="async" class="lazy" data-src="train.jpg"></a></p> wysiwyg: |- <p><img src="train.jpg" alt="foo bar" title="train & tracks"></p> + <pre>[foo *bar*]: train.jpg "train & tracks"</pre> 06_08__inlines__images__003: canonical: | <p><img src="/url2" alt="foo bar" /></p> @@ -6845,6 +6917,7 @@ <p data-sourcepos="1:1-1:14" dir="auto"><a class="no-attachment-icon" href="train.jpg" target="_blank" rel="noopener noreferrer"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="foo bar" title="train & tracks" decoding="async" class="lazy" data-src="train.jpg"></a></p> wysiwyg: |- <p><img src="train.jpg" alt="foo bar" title="train & tracks"></p> + <pre>[foo *bar*]: train.jpg "train & tracks"</pre> 06_08__inlines__images__006: canonical: | <p><img src="train.jpg" alt="foo bar" title="train & tracks" /></p> @@ -6852,6 +6925,7 @@ <p data-sourcepos="1:1-1:20" dir="auto"><a class="no-attachment-icon" href="train.jpg" target="_blank" rel="noopener noreferrer"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="foo bar" title="train & tracks" decoding="async" class="lazy" data-src="train.jpg"></a></p> wysiwyg: |- <p><img src="train.jpg" alt="foo bar" title="train & tracks"></p> + <pre>[foobar]: train.jpg "train & tracks"</pre> 06_08__inlines__images__007: canonical: | <p><img src="train.jpg" alt="foo" /></p> @@ -6887,6 +6961,7 @@ <p data-sourcepos="1:1-1:11" dir="auto"><a class="no-attachment-icon" href="/url" target="_blank" rel="noopener noreferrer"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="foo" decoding="async" class="lazy" data-src="/url"></a></p> wysiwyg: |- <p><img src="/url" alt="foo"></p> + <pre>[bar]: /url</pre> 06_08__inlines__images__012: canonical: | <p><img src="/url" alt="foo" /></p> @@ -6894,6 +6969,7 @@ <p data-sourcepos="1:1-1:11" dir="auto"><a class="no-attachment-icon" href="/url" target="_blank" rel="noopener noreferrer"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="foo" decoding="async" class="lazy" data-src="/url"></a></p> wysiwyg: |- <p><img src="/url" alt="foo"></p> + <pre>[bar]: /url</pre> 06_08__inlines__images__013: canonical: | <p><img src="/url" alt="foo" title="title" /></p> @@ -6901,6 +6977,7 @@ <p data-sourcepos="1:1-1:8" dir="auto"><a class="no-attachment-icon" href="/url" target="_blank" rel="noopener noreferrer"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="foo" title="title" decoding="async" class="lazy" data-src="/url"></a></p> wysiwyg: |- <p><img src="/url" alt="foo" title="title"></p> + <pre>[foo]: /url "title"</pre> 06_08__inlines__images__014: canonical: | <p><img src="/url" alt="foo bar" title="title" /></p> @@ -6908,6 +6985,7 @@ <p data-sourcepos="1:1-1:14" dir="auto"><a class="no-attachment-icon" href="/url" target="_blank" rel="noopener noreferrer"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="foo bar" title="title" decoding="async" class="lazy" data-src="/url"></a></p> wysiwyg: |- <p><img src="/url" alt="foo bar" title="title"></p> + <pre>[*foo* bar]: /url "title"</pre> 06_08__inlines__images__015: canonical: | <p><img src="/url" alt="Foo" title="title" /></p> @@ -6915,6 +6993,7 @@ <p data-sourcepos="1:1-1:8" dir="auto"><a class="no-attachment-icon" href="/url" target="_blank" rel="noopener noreferrer"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="Foo" title="title" decoding="async" class="lazy" data-src="/url"></a></p> wysiwyg: |- <p><img src="/url" alt="Foo" title="title"></p> + <pre>[foo]: /url "title"</pre> 06_08__inlines__images__016: canonical: | <p><img src="/url" alt="foo" title="title" /> @@ -6925,6 +7004,7 @@ wysiwyg: |- <p><img src="/url" alt="foo" title="title"> []</p> + <pre>[foo]: /url "title"</pre> 06_08__inlines__images__017: canonical: | <p><img src="/url" alt="foo" title="title" /></p> @@ -6932,6 +7012,7 @@ <p data-sourcepos="1:1-1:6" dir="auto"><a class="no-attachment-icon" href="/url" target="_blank" rel="noopener noreferrer"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="foo" title="title" decoding="async" class="lazy" data-src="/url"></a></p> wysiwyg: |- <p><img src="/url" alt="foo" title="title"></p> + <pre>[foo]: /url "title"</pre> 06_08__inlines__images__018: canonical: | <p><img src="/url" alt="foo bar" title="title" /></p> @@ -6939,6 +7020,7 @@ <p data-sourcepos="1:1-1:12" dir="auto"><a class="no-attachment-icon" href="/url" target="_blank" rel="noopener noreferrer"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="foo bar" title="title" decoding="async" class="lazy" data-src="/url"></a></p> wysiwyg: |- <p><img src="/url" alt="foo bar" title="title"></p> + <pre>[*foo* bar]: /url "title"</pre> 06_08__inlines__images__019: canonical: | <p>![[foo]]</p> @@ -6956,6 +7038,7 @@ <p data-sourcepos="1:1-1:6" dir="auto"><a class="no-attachment-icon" href="/url" target="_blank" rel="noopener noreferrer"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="Foo" title="title" decoding="async" class="lazy" data-src="/url"></a></p> wysiwyg: |- <p><img src="/url" alt="Foo" title="title"></p> + <pre>[foo]: /url "title"</pre> 06_08__inlines__images__021: canonical: | <p>![foo]</p> @@ -6963,6 +7046,7 @@ <p data-sourcepos="1:1-1:7" dir="auto">![foo]</p> wysiwyg: |- <p>![foo]</p> + <pre>[foo]: /url "title"</pre> 06_08__inlines__images__022: canonical: | <p>!<a href="/url" title="title">foo</a></p> @@ -6970,6 +7054,7 @@ <p data-sourcepos="1:1-1:27" dir="auto"><span>!</span><a href="/url" title="title">foo</a></p> wysiwyg: |- <p>!<a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title">foo</a></p> + <pre>[foo]: /url "title"</pre> 06_09__inlines__autolinks__001: canonical: | <p><a href="http://foo.bar.baz">http://foo.bar.baz</a></p> diff --git a/glfm_specification/example_snapshots/prosemirror_json.yml b/glfm_specification/example_snapshots/prosemirror_json.yml index f770d341c42..7cb4757b368 100644 --- a/glfm_specification/example_snapshots/prosemirror_json.yml +++ b/glfm_specification/example_snapshots/prosemirror_json.yml @@ -3884,6 +3884,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"title\"" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -3911,6 +3925,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "the title" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"the title\"" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -3938,6 +3966,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo*bar\\]", + "url": "my_(url)", + "title": "title (with parens)" + }, + "content": [ + { + "type": "text", + "text": "[foo*bar\\]]: my_(url) \"title (with parens)\"" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -3965,6 +4007,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo bar", + "url": "my url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[foo bar]: my url \"title\"" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -3992,6 +4048,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "\ntitle\nline1\nline2\n" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"\ntitle\nline1\nline2\n\"" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -4052,6 +4122,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -4103,6 +4187,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: " + } + ] + }, + { "type": "paragraph", "content": [ { @@ -4154,6 +4252,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url\\bar*baz", + "title": "foo\"bar\\baz" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url\\bar*baz \"foo\"bar\\baz\"" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -4200,6 +4312,20 @@ "text": "foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: url" + } + ] } ] } @@ -4227,6 +4353,34 @@ "text": "foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "first", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: first" + } + ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "second", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: second" + } + ] } ] } @@ -4235,6 +4389,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -4262,6 +4430,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "αγω", + "url": "/φου", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[αγω]: /φου" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -4289,7 +4471,18 @@ "type": "doc", "content": [ { - "type": "paragraph" + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url" + } + ] } ] } @@ -4298,6 +4491,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -4328,6 +4535,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -4447,6 +4668,20 @@ ] }, { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url" + } + ] + }, + { "type": "blockquote", "attrs": { "multiline": false @@ -4470,6 +4705,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url" + } + ] + }, + { "type": "heading", "attrs": { "level": 1 @@ -4509,6 +4758,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -4540,6 +4803,48 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/foo-url", + "title": "foo" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /foo-url \"foo\"" + } + ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "bar", + "url": "/bar-url", + "title": "bar" + }, + "content": [ + { + "type": "text", + "text": "[bar]: /bar-url \"bar\"" + } + ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "baz", + "url": "/baz-url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[baz]: /baz-url" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -4634,7 +4939,18 @@ }, "content": [ { - "type": "paragraph" + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url" + } + ] } ] } @@ -4645,7 +4961,18 @@ "type": "doc", "content": [ { - "type": "paragraph" + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url" + } + ] } ] } @@ -9572,6 +9899,20 @@ "text": "b" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "ref", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[ref]: /url" + } + ] } ] }, @@ -10416,6 +10757,20 @@ "text": "foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/bar*", + "title": "ti*tle" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /bar* \"ti*tle\"" + } + ] } ] } @@ -10588,6 +10943,20 @@ "text": "foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/föö", + "title": "föö" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /föö \"föö\"" + } + ] } ] } @@ -15592,6 +15961,20 @@ "text": "foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "bar", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[bar]: /url \"title\"" + } + ] } ] } @@ -15619,6 +16002,20 @@ "text": "link [foo [bar]]" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "ref", + "url": "/uri", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[ref]: /uri" + } + ] } ] } @@ -15646,6 +16043,20 @@ "text": "link [bar" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "ref", + "url": "/uri", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[ref]: /uri" + } + ] } ] } @@ -15739,6 +16150,20 @@ "text": "#" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "ref", + "url": "/uri", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[ref]: /uri" + } + ] } ] } @@ -15772,6 +16197,20 @@ ] } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "ref", + "url": "/uri", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[ref]: /uri" + } + ] } ] } @@ -15823,6 +16262,20 @@ "text": "ref" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "ref", + "url": "/uri", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[ref]: /uri" + } + ] } ] } @@ -15886,6 +16339,20 @@ "text": "ref" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "ref", + "url": "/uri", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[ref]: /uri" + } + ] } ] } @@ -15917,6 +16384,20 @@ "text": "foo*" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "ref", + "url": "/uri", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[ref]: /uri" + } + ] } ] } @@ -15944,6 +16425,20 @@ "text": "foo *bar" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "ref", + "url": "/uri", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[ref]: /uri" + } + ] } ] } @@ -15959,6 +16454,20 @@ "text": "[foo " } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "ref", + "url": "/uri", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[ref]: /uri" + } + ] } ] } @@ -15983,6 +16492,20 @@ "text": "][ref]" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "ref", + "url": "/uri", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[ref]: /uri" + } + ] } ] } @@ -16014,6 +16537,20 @@ "text": "http://example.com/?search=][ref]" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "ref", + "url": "/uri", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[ref]: /uri" + } + ] } ] } @@ -16041,6 +16578,20 @@ "text": "foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "bar", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[bar]: /url \"title\"" + } + ] } ] } @@ -16072,6 +16623,20 @@ "text": " is a Russian word." } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "толпой", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[толпой]: /url" + } + ] } ] } @@ -16080,6 +16645,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo bar", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo bar]: /url" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -16130,6 +16709,20 @@ "text": "bar" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "bar", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[bar]: /url \"title\"" + } + ] } ] } @@ -16161,6 +16754,20 @@ "text": "bar" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "bar", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[bar]: /url \"title\"" + } + ] } ] } @@ -16169,6 +16776,34 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url1", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url1" + } + ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url2", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url2" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -16203,6 +16838,20 @@ "text": "[bar][foo!]" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo!", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo!]: /url" + } + ] } ] } @@ -16302,6 +16951,20 @@ "text": "foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "ref\\[", + "url": "/uri", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[ref\\[]: /uri" + } + ] } ] } @@ -16310,6 +16973,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "bar\\\\", + "url": "/uri", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[bar\\\\]: /uri" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -16404,6 +17081,20 @@ "text": "foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"title\"" + } + ] } ] } @@ -16450,6 +17141,20 @@ "text": " bar" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "*foo* bar", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[*foo* bar]: /url \"title\"" + } + ] } ] } @@ -16477,6 +17182,20 @@ "text": "Foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"title\"" + } + ] } ] } @@ -16508,6 +17227,20 @@ "text": "\n[]" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"title\"" + } + ] } ] } @@ -16535,6 +17268,20 @@ "text": "foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"title\"" + } + ] } ] } @@ -16581,6 +17328,20 @@ "text": " bar" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "*foo* bar", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[*foo* bar]: /url \"title\"" + } + ] } ] } @@ -16635,6 +17396,20 @@ "text": "]" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "*foo* bar", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[*foo* bar]: /url \"title\"" + } + ] } ] } @@ -16666,6 +17441,20 @@ "text": "foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url" + } + ] } ] } @@ -16693,6 +17482,20 @@ "text": "Foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"title\"" + } + ] } ] } @@ -16724,6 +17527,20 @@ "text": " bar" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url" + } + ] } ] } @@ -16739,6 +17556,20 @@ "text": "[foo]" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"title\"" + } + ] } ] } @@ -16747,6 +17578,20 @@ "type": "doc", "content": [ { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo*", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo*]: /url" + } + ] + }, + { "type": "paragraph", "content": [ { @@ -16797,6 +17642,34 @@ "text": "foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url1", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url1" + } + ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "bar", + "url": "/url2", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[bar]: /url2" + } + ] } ] } @@ -16824,6 +17697,20 @@ "text": "foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url1", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url1" + } + ] } ] } @@ -16851,6 +17738,20 @@ "text": "foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url1", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url1" + } + ] } ] } @@ -16882,6 +17783,20 @@ "text": "(not a link)" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url1", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url1" + } + ] } ] } @@ -16913,6 +17828,20 @@ "text": "bar" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "baz", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[baz]: /url" + } + ] } ] } @@ -16956,6 +17885,34 @@ "text": "baz" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "baz", + "url": "/url1", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[baz]: /url1" + } + ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "bar", + "url": "/url2", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[bar]: /url2" + } + ] } ] } @@ -16987,6 +17944,34 @@ "text": "bar" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "baz", + "url": "/url1", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[baz]: /url1" + } + ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url2", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url2" + } + ] } ] } @@ -17029,6 +18014,20 @@ } } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo *bar*", + "url": "train.jpg", + "title": "train & tracks" + }, + "content": [ + { + "type": "text", + "text": "[foo *bar*]: train.jpg \"train & tracks\"" + } + ] } ] } @@ -17092,6 +18091,20 @@ } } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo *bar*", + "url": "train.jpg", + "title": "train & tracks" + }, + "content": [ + { + "type": "text", + "text": "[foo *bar*]: train.jpg \"train & tracks\"" + } + ] } ] } @@ -17113,6 +18126,20 @@ } } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foobar", + "url": "train.jpg", + "title": "train & tracks" + }, + "content": [ + { + "type": "text", + "text": "[foobar]: train.jpg \"train & tracks\"" + } + ] } ] } @@ -17222,6 +18249,20 @@ } } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "bar", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[bar]: /url" + } + ] } ] } @@ -17243,6 +18284,20 @@ } } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "bar", + "url": "/url", + "title": null + }, + "content": [ + { + "type": "text", + "text": "[bar]: /url" + } + ] } ] } @@ -17264,6 +18319,20 @@ } } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"title\"" + } + ] } ] } @@ -17285,6 +18354,20 @@ } } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "*foo* bar", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[*foo* bar]: /url \"title\"" + } + ] } ] } @@ -17306,6 +18389,20 @@ } } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"title\"" + } + ] } ] } @@ -17331,6 +18428,20 @@ "text": "\n[]" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"title\"" + } + ] } ] } @@ -17352,6 +18463,20 @@ } } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"title\"" + } + ] } ] } @@ -17373,6 +18498,20 @@ } } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "*foo* bar", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[*foo* bar]: /url \"title\"" + } + ] } ] } @@ -17418,6 +18557,20 @@ } } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"title\"" + } + ] } ] } @@ -17433,6 +18586,20 @@ "text": "![foo]" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"title\"" + } + ] } ] } @@ -17464,6 +18631,20 @@ "text": "foo" } ] + }, + { + "type": "referenceDefinition", + "attrs": { + "identifier": "foo", + "url": "/url", + "title": "title" + }, + "content": [ + { + "type": "text", + "text": "[foo]: /url \"title\"" + } + ] } ] } |