@@ -33,11 +33,15 @@
36−<p>Level 2 with an embedded link </url></p>
36+<p>Level 2 with an embedded link<a l:href="#l1" type="note">
40−<p>Level 3 with emphasis</p>
43+<p>Level 3 with <emphasis>emphasis</emphasis>
@@ -58,7 +62,8 @@
61−<p>Level 2 with emphasis</p>
65+<p>Level 2 with <emphasis>emphasis</emphasis>
@@ -485,8 +490,8 @@
486<p>This is <emphasis>emphasized</emphasis>, and so <emphasis>is this</emphasis>.</p>
491<p>This is <emphasis>emphasized</emphasis>, and so <emphasis>is this</emphasis>.</p>
487<p>This is <strong>strong</strong>, and so <strong>is this</strong>.</p>
492<p>This is <strong>strong</strong>, and so <strong>is this</strong>.</p>
488−<p>An <emphasis>emphasized link<a l:href="#l1" type="note">
493+<p>An <emphasis>emphasized link<a l:href="#l2" type="note">
489−<sup>[1]</sup>
494+<sup>[2]</sup>
491</emphasis>.</p>
496</emphasis>.</p>
@@ -526,8 +531,8 @@
526<p>‘A’, ‘B’, and ‘C’ are letters.</p>
531<p>‘A’, ‘B’, and ‘C’ are letters.</p>
527<p>‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p>
532<p>‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p>
528<p>‘He said, “I want to go.”’ Were you alive in the 70’s?</p>
533<p>‘He said, “I want to go.”’ Were you alive in the 70’s?</p>
529−<p>Here is some quoted ‘<code>code</code>’ and a “quoted link<a l:href="#l2" type="note">
534+<p>Here is some quoted ‘<code>code</code>’ and a “quoted link<a l:href="#l3" type="note">
530−<sup>[2]</sup>
535+<sup>[3]</sup>
531</a>”.</p>
536</a>”.</p>
532<p>Some dashes: one—two — three—four — five.</p>
537<p>Some dashes: one—two — three—four — five.</p>
533<p>Dashes between numbers: 5–7, 255–66, 1987–1999.</p>
538<p>Dashes between numbers: 5–7, 255–66, 1987–1999.</p>
@@ -606,10 +611,7 @@
607<p>Explicit</p>
612<p>Explicit</p>
609−<p>Just a URL<a l:href="#l3" type="note">
614+<p>Just a URL<a l:href="#l4" type="note">
612−<p>URL and title<a l:href="#l4" type="note">
613<sup>[4]</sup>
615<sup>[4]</sup>
615<p>URL and title<a l:href="#l5" type="note">
617<p>URL and title<a l:href="#l5" type="note">
@@ -620,97 +622,100 @@
621<p>URL and title<a l:href="#l7" type="note">
623<p>URL and title<a l:href="#l7" type="note">
622<sup>[7]</sup>
624<sup>[7]</sup>
625<p>URL and title<a l:href="#l8" type="note">
626<p>URL and title<a l:href="#l8" type="note">
626<sup>[8]</sup>
627<sup>[8]</sup>
629−<p>with_underscore<a l:href="#l9" type="note">
630+<p>URL and title<a l:href="#l9" type="note">
630<sup>[9]</sup>
631<sup>[9]</sup>
633−<p>Email link<a l:href="#l10" type="note">
634+<p>with_underscore<a l:href="#l10" type="note">
634<sup>[10]</sup>
635<sup>[10]</sup>
637−<p>Empty<a l:href="#l11" type="note">
638+<p>Email link<a l:href="#l11" type="note">
638<sup>[11]</sup>
639<sup>[11]</sup>
642+<p>Empty<a l:href="#l12" type="note">
640</section>
645</section>
643<p>Reference</p>
648<p>Reference</p>
645−<p>Foo bar<a l:href="#l12" type="note">
650+<p>Foo bar<a l:href="#l13" type="note">
648−<p>With embedded [brackets]<a l:href="#l13" type="note">
649<sup>[13]</sup>
651<sup>[13]</sup>
651−<p>b<a l:href="#l14" type="note">
653+<p>With embedded [brackets]<a l:href="#l14" type="note">
652<sup>[14]</sup>
654<sup>[14]</sup>
653−</a> by itself should be a link.</p>
654−<p>Indented once<a l:href="#l15" type="note">
656+<p>b<a l:href="#l15" type="note">
658+</a> by itself should be a link.</p>
657−<p>Indented twice<a l:href="#l16" type="note">
659+<p>Indented once<a l:href="#l16" type="note">
658<sup>[16]</sup>
660<sup>[16]</sup>
660−<p>Indented thrice<a l:href="#l17" type="note">
662+<p>Indented twice<a l:href="#l17" type="note">
661<sup>[17]</sup>
663<sup>[17]</sup>
665+<p>Indented thrice<a l:href="#l18" type="note">
663<p>This should [not][] be a link.</p>
668<p>This should [not][] be a link.</p>
664<empty-line />
669<empty-line />
666<code>[not]: /url</code>
671<code>[not]: /url</code>
668<empty-line />
673<empty-line />
669−<p>Foo bar<a l:href="#l18" type="note">
674+<p>Foo bar<a l:href="#l19" type="note">
672−<p>Foo biz<a l:href="#l19" type="note">
673<sup>[19]</sup>
675<sup>[19]</sup>
677+<p>Foo biz<a l:href="#l20" type="note">
675</section>
680</section>
678<p>With ampersands</p>
683<p>With ampersands</p>
680−<p>Here’s a link with an ampersand in the URL<a l:href="#l20" type="note">
685+<p>Here’s a link with an ampersand in the URL<a l:href="#l21" type="note">
683−<p>Here’s a link with an amersand in the link text: AT&T<a l:href="#l21" type="note">
684<sup>[21]</sup>
686<sup>[21]</sup>
686−<p>Here’s an inline link<a l:href="#l22" type="note">
688+<p>Here’s a link with an amersand in the link text: AT&T<a l:href="#l22" type="note">
687<sup>[22]</sup>
689<sup>[22]</sup>
689−<p>Here’s an inline link in pointy braces<a l:href="#l23" type="note">
691+<p>Here’s an inline link<a l:href="#l23" type="note">
690<sup>[23]</sup>
692<sup>[23]</sup>
694+<p>Here’s an inline link in pointy braces<a l:href="#l24" type="note">
692</section>
697</section>
695<p>Autolinks</p>
700<p>Autolinks</p>
697−<p>With an ampersand: http://example.com/?foo=1&bar=2<a l:href="#l24" type="note">
702+<p>With an ampersand: http://example.com/?foo=1&bar=2<a l:href="#l25" type="note">
698−<sup>[24]</sup>
703+<sup>[25]</sup>
701<p>• In a list?</p>
706<p>• In a list?</p>
702−<p>• http://example.com/<a l:href="#l25" type="note">
707+<p>• http://example.com/<a l:href="#l26" type="note">
703−<sup>[25]</sup>
708+<sup>[26]</sup>
706<p>• It should.</p>
711<p>• It should.</p>
707−<p>An e-mail address: nobody@nowhere.net<a l:href="#l26" type="note">
712+<p>An e-mail address: nobody@nowhere.net<a l:href="#l27" type="note">
708−<sup>[26]</sup>
713+<sup>[27]</sup>
712−<p>Blockquoted: http://example.com/<a l:href="#l27" type="note">
717+<p>Blockquoted: http://example.com/<a l:href="#l28" type="note">
713−<sup>[27]</sup>
718+<sup>[28]</sup>
@@ -741,22 +746,22 @@
742<p>Footnotes</p>
747<p>Footnotes</p>
744−<p>Here is a footnote reference,<a l:href="#n28" type="note">
749+<p>Here is a footnote reference,<a l:href="#n29" type="note">
746−</a> and another.<a l:href="#n29" type="note">
747<sup>[29]</sup>
750<sup>[29]</sup>
748−</a> This should <emphasis>not</emphasis> be a footnote reference, because it contains a space.[^my note] Here is an inline note.<a l:href="#n30" type="note">
751+</a> and another.<a l:href="#n30" type="note">
749<sup>[30]</sup>
752<sup>[30]</sup>
753+</a> This should <emphasis>not</emphasis> be a footnote reference, because it contains a space.[^my note] Here is an inline note.<a l:href="#n31" type="note">
753−<p>Notes can go in quotes.<a l:href="#n31" type="note">
758+<p>Notes can go in quotes.<a l:href="#n32" type="note">
754−<sup>[31]</sup>
759+<sup>[32]</sup>
758−<p>1. And in list items.<a l:href="#n32" type="note">
763+<p>1. And in list items.<a l:href="#n33" type="note">
759−<sup>[32]</sup>
764+<sup>[33]</sup>
762<p>This paragraph should not be part of the note, as it is not indented.</p>
767<p>This paragraph should not be part of the note, as it is not indented.</p>
@@ -776,7 +781,7 @@
779−<code>http://example.com/?foo=1&bar=2</code>
784+<code>/url</code>
781</section>
786</section>
782<section id="l3">
787<section id="l3">
@@ -784,50 +789,50 @@
787−<code>/url/</code>
792+<code>http://example.com/?foo=1&bar=2</code>
789</section>
794</section>
790<section id="l4">
795<section id="l4">
794−<p>title: <code>/url/</code>
800+<code>/url/</code>
796</section>
802</section>
797<section id="l5">
803<section id="l5">
801−<p>title preceded by two spaces: <code>/url/</code>
807+<p>title: <code>/url/</code>
803</section>
809</section>
804<section id="l6">
810<section id="l6">
808−<p>title preceded by a tab: <code>/url/</code>
814+<p>title preceded by two spaces: <code>/url/</code>
810</section>
816</section>
811<section id="l7">
817<section id="l7">
815−<p>title with "quotes" in it: <code>/url/</code>
821+<p>title preceded by a tab: <code>/url/</code>
817</section>
823</section>
818<section id="l8">
824<section id="l8">
822−<p>title with single quotes: <code>/url/</code>
828+<p>title with "quotes" in it: <code>/url/</code>
824</section>
830</section>
825<section id="l9">
831<section id="l9">
829−<p>
835+<p>title with single quotes: <code>/url/</code>
830−<code>/url/with_underscore</code>
832</section>
837</section>
833<section id="l10">
838<section id="l10">
@@ -835,7 +840,7 @@
838−<code>mailto:nobody@nowhere.net</code>
843+<code>/url/with_underscore</code>
840</section>
845</section>
841<section id="l11">
846<section id="l11">
@@ -843,8 +848,7 @@
846−<code>
851+<code>mailto:nobody@nowhere.net</code>
849</section>
853</section>
850<section id="l12">
854<section id="l12">
@@ -852,7 +856,8 @@
855−<code>/url/</code>
859+<code>
857</section>
862</section>
858<section id="l13">
863<section id="l13">
@@ -876,7 +881,7 @@
879−<code>/url</code>
884+<code>/url/</code>
881</section>
886</section>
882<section id="l16">
887<section id="l16">
@@ -899,37 +904,37 @@
902−<p>Title with "quotes" inside: <code>/url/</code>
908+<code>/url</code>
904</section>
910</section>
905<section id="l19">
911<section id="l19">
909−<p>Title with "quote" inside: <code>/url/</code>
915+<p>Title with "quotes" inside: <code>/url/</code>
911</section>
917</section>
912<section id="l20">
918<section id="l20">
916−<p>
922+<p>Title with "quote" inside: <code>/url/</code>
917−<code>http://example.com/?foo=1&bar=2</code>
919</section>
924</section>
920<section id="l21">
925<section id="l21">
924−<p>AT&T: <code>http://att.com/</code>
930+<code>http://example.com/?foo=1&bar=2</code>
926</section>
932</section>
927<section id="l22">
933<section id="l22">
931−<p>
937+<p>AT&T: <code>http://att.com/</code>
932−<code>/script?foo=1&bar=2</code>
934</section>
939</section>
935<section id="l23">
940<section id="l23">
@@ -945,7 +950,7 @@
948−<code>http://example.com/?foo=1&bar=2</code>
953+<code>/script?foo=1&bar=2</code>
950</section>
955</section>
951<section id="l25">
956<section id="l25">
@@ -953,7 +958,7 @@
956−<code>http://example.com/</code>
961+<code>http://example.com/?foo=1&bar=2</code>
958</section>
963</section>
959<section id="l26">
964<section id="l26">
@@ -961,7 +966,7 @@
964−<code>mailto:nobody@nowhere.net</code>
969+<code>http://example.com/</code>
966</section>
971</section>
967<section id="l27">
972<section id="l27">
@@ -969,19 +974,27 @@
972−<code>http://example.com/</code>
977+<code>mailto:nobody@nowhere.net</code>
974</section>
979</section>
975−<section id="n28">
980+<section id="l28">
979−<p>Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.</p>
984+<p>
985+<code>http://example.com/</code>
980</section>
987</section>
981<section id="n29">
988<section id="n29">
992+<p>Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.</p>
985<p>Here’s the long note. This one contains multiple blocks.</p>
998<p>Here’s the long note. This one contains multiple blocks.</p>
986<p>Subsequent blocks are indented to show that they belong to the footnote (as with list items).</p>
999<p>Subsequent blocks are indented to show that they belong to the footnote (as with list items).</p>
987<empty-line />
1000<empty-line />
@@ -991,25 +1004,26 @@
991<empty-line />
1004<empty-line />
992<p>If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.</p>
1005<p>If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.</p>
993</section>
1006</section>
994−<section id="n30">
1007+<section id="n31">
996−<p>30</p>
1009+<p>31</p>
998−<p>This is <emphasis>easier</emphasis> to type. Inline notes may contain links<a l:href="#l30" type="note">
1011+<p>This is <emphasis>easier</emphasis> to type. Inline notes may contain links<a l:href="#l31" type="note">
999−<sup>[30]</sup>
1012+<sup>[31]</sup>
1000</a> and <code>]</code> verbatim characters, as well as [bracketed text].</p>
1013</a> and <code>]</code> verbatim characters, as well as [bracketed text].</p>
1001</section>
1014</section>
1002−<section id="n31">
1015+<section id="n32">
1004−<p>31</p>
1017+<p>32</p>
1006<p>In quote.</p>
1019<p>In quote.</p>
1007</section>
1020</section>
1008−<section id="n32">
1021+<section id="n33">
1010−<p>32</p>
1023+<p>33</p>
1012<p>In list.</p>
1025<p>In list.</p>
1013</section>
1026</section>
1015</FictionBook>
1028</FictionBook>