@@ -15,36 +15,36 @@
1515 ><p
1616 >This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite.</p
1717 ><hr
18− /><h1
18+ /><h1 id="Headers"
1919 >Headers</h1
20− ><h2
20+ ><h2 id="Level_2_with_an_embedded_link"
2121 >Level 2 with an <a href="/url"
2222 >embedded link</a
2323 ></h2
24− ><h3
24+ ><h3 id="Level_3_with_emphasis"
2525 >Level 3 with <em
2626 >emphasis</em
2727 ></h3
28− ><h4
28+ ><h4 id="Level_4"
2929 >Level 4</h4
30− ><h5
30+ ><h5 id="Level_5"
3131 >Level 5</h5
32− ><h1
32+ ><h1 id="Level_1"
3333 >Level 1</h1
34− ><h2
34+ ><h2 id="Level_2_with_emphasis"
3535 >Level 2 with <em
3636 >emphasis</em
3737 ></h2
38− ><h3
38+ ><h3 id="Level_3"
3939 >Level 3</h3
4040 ><p
4141 >with no blank line</p
42− ><h2
42+ ><h2 id="Level_2"
4343 >Level 2</h2
4444 ><p
4545 >with no blank line</p
4646 ><hr
47− /><h1
47+ /><h1 id="Paragraphs"
4848 >Paragraphs</h1
4949 ><p
5050 >Here’s a regular paragraph.</p
@@ -56,7 +56,7 @@
5656 >There should be a hard line break<br
5757 />here.</p
5858 ><hr
59− /><h1
59+ /><h1 id="Block_Quotes"
6060 >Block Quotes</h1
6161 ><p
6262 >E-mail style:</p
@@ -129,7 +129,7 @@
129129 ><p
130130 >And a following paragraph.</p
131131 ><hr
132− /><h1
132+ /><h1 id="Code_Blocks"
133133 >Code Blocks</h1
134134 ><p
135135 >Code:</p
@@ -154,9 +154,9 @@ These should not be escaped: \$ \\ \> \[ \{
154154</code
155155 ></pre
156156 ><hr
157− /><h1
157+ /><h1 id="Lists"
158158 >Lists</h1
159− ><h2
159+ ><h2 id="Unordered"
160160 >Unordered</h2
161161 ><p
162162 >Asterisks tight:</p
@@ -236,7 +236,7 @@ These should not be escaped: \$ \\ \> \[ \{
236236 >Minus 3</p
237237 ></li
238238 ></ul
239− ><h2
239+ ><h2 id="Ordered"
240240 >Ordered</h2
241241 ><p
242242 >Tight:</p
@@ -308,7 +308,7 @@ These should not be escaped: \$ \\ \> \[ \{
308308 >Item 3.</p
309309 ></li
310310 ></ol
311− ><h2
311+ ><h2 id="Nested"
312312 >Nested</h2
313313 ><ul
314314 ><li
@@ -364,7 +364,7 @@ These should not be escaped: \$ \\ \> \[ \{
364364 >Third</p
365365 ></li
366366 ></ol
367− ><h2
367+ ><h2 id="Tabs_and_spaces"
368368 >Tabs and spaces</h2
369369 ><ul
370370 ><li
@@ -387,7 +387,7 @@ These should not be escaped: \$ \\ \> \[ \{
387387 ></li
388388 ></ul
389389 ><hr
390− /><h1
390+ /><h1 id="Definition_Lists"
391391 >Definition Lists</h1
392392 ><p
393393 >Tight using spaces:</p
@@ -474,7 +474,7 @@ These should not be escaped: \$ \\ \> \[ \{
474474 ></blockquote
475475 ></dd
476476 ></dl
477− ><h1
477+ ><h1 id="HTML_Blocks"
478478 >HTML Blocks</h1
479479 ><p
480480 >Simple block on one line:</p
@@ -579,7 +579,7 @@ Blah
579579
580580<hr class="foo" id="bar">
581581<hr
582− /><h1
582+ /><h1 id="Inline_Markup"
583583 >Inline Markup</h1
584584 ><p
585585 >This is <em
@@ -636,7 +636,7 @@ Blah
636636 ><html></code
637637 >.</p
638638 ><hr
639− /><h1
639+ /><h1 id="Smart_quotes,_ellipses,_dashes"
640640 >Smart quotes, ellipses, dashes</h1
641641 ><p
642642 >“Hello,” said the spider. “‘Shelob’ is my name.”</p
@@ -659,7 +659,7 @@ Blah
659659 ><p
660660 >Ellipses…and…and….</p
661661 ><hr
662− /><h1
662+ /><h1 id="LaTeX"
663663 >LaTeX</h1
664664 ><ul
665665 ><li
@@ -708,7 +708,7 @@ Dog & 2 \\
708708Cat & 1 \\ \hline
709709\end{tabular}</p
710710 ><hr
711− /><h1
711+ /><h1 id="Special_Characters"
712712 >Special Characters</h1
713713 ><p
714714 >Here is some unicode:</p
@@ -767,9 +767,9 @@ Cat & 1 \\ \hline
767767 ><p
768768 >Minus: -</p
769769 ><hr
770− /><h1
770+ /><h1 id="Links"
771771 >Links</h1
772− ><h2
772+ ><h2 id="Explicit"
773773 >Explicit</h2
774774 ><p
775775 >Just a <a href="/url/"
@@ -814,7 +814,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>')
814814 ><a href=""
815815 >Empty</a
816816 >.</p
817− ><h2
817+ ><h2 id="Reference"
818818 >Reference</h2
819819 ><p
820820 >Foo <a href="/url/"
@@ -863,7 +863,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>')
863863 >Foo <a href="/url/" title="Title with "quote" inside"
864864 >biz</a
865865 >.</p
866− ><h2
866+ ><h2 id="With_ampersands"
867867 >With ampersands</h2
868868 ><p
869869 >Here’s a <a href="http://example.com/?foo=1&bar=2"
@@ -881,7 +881,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>')
881881 >Here’s an <a href="/script?foo=1&bar=2"
882882 >inline link in pointy braces</a
883883 >.</p
884− ><h2
884+ ><h2 id="Autolinks"
885885 >Autolinks</h2
886886 ><p
887887 >With an ampersand: <a href="http://example.com/?foo=1&bar=2"
@@ -924,7 +924,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+e+'<\/'+'a'+'>');
924924</code
925925 ></pre
926926 ><hr
927− /><h1
927+ /><h1 id="Images"
928928 >Images</h1
929929 ><p
930930 >From “Voyage dans la Lune” by Georges Melies (1902):</p
@@ -935,7 +935,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+e+'<\/'+'a'+'>');
935935 >Here is a movie <img src="movie.jpg" title="" alt="movie"
936936 /> icon.</p
937937 ><hr
938− /><h1
938+ /><h1 id="Footnotes"
939939 >Footnotes</h1
940940 ><p
941941 >Here is a footnote reference,<a href="#fn1" class="footnoteRef" id="fnref1"