1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <meta name="generator" content="pandoc" />
6 <meta name="author" content="John MacFarlane" />
7 <meta name="author" content="Anonymous" />
8 <meta name="date" content="July 17, 2006" />
9 <title>Pandoc Test Suite</title>
12<h1 class="title">Pandoc Test Suite</h1>
14>This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite.</p
18><h2 id="level-2-with-an-embedded-link"
19>Level 2 with an <a href="/url"
22><h3 id="level-3-with-emphasis"
32><h2 id="level-2-with-emphasis"
48>Here’s a regular paragraph.</p
50>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item.</p
52>Here’s one with a bullet. * criminey.</p
54>There should be a hard line break<br
57 /><h1 id="block-quotes"
63 >This is a block quote. It is pretty short.</p
67 >Code in a block quote:</p
71 print "working";
77 ><ol style="list-style-type: decimal"
84 >Nested block quotes:</p
95>This should not be a block quote: 2 > 1.</p
97>And a following paragraph.</p
99 /><h1 id="code-blocks"
105 >---- (should be four hyphens)
108 print "working";
111this code block is indented by one tab
118 > this code block is indented by two tabs
120These should not be escaped: \$ \\ \> \[ \{
210><ol style="list-style-type: decimal"
220><ol style="list-style-type: decimal"
230><ol style="list-style-type: decimal"
246><ol style="list-style-type: decimal"
261>Multiple paragraphs:</p
262><ol style="list-style-type: decimal"
265 >Item 1, graf one.</p
267 >Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.</p
294><ol style="list-style-type: decimal"
311>Same thing but with paragraphs:</p
312><ol style="list-style-type: decimal"
334><h2 id="tabs-and-spaces"
339 >this is a list item indented with tabs</p
343 >this is a list item indented with spaces</p
347 >this is an example list item indented with tabs</p
351 >this is an example list item indented with spaces</p
356><h2 id="fancy-list-markers"
357>Fancy list markers</h2
358><ol start="2" style="list-style-type: decimal"
365 >with a continuation</p
366 ><ol start="4" style="list-style-type: lower-roman"
368 >sublist with roman numerals, starting with 4</li
370 >more items<ol style="list-style-type: upper-alpha"
382><ol style="list-style-type: upper-alpha"
384 >Upper Alpha<ol style="list-style-type: upper-roman"
386 >Upper Roman.<ol start="6" style="list-style-type: decimal"
388 >Decimal start with 6<ol start="3" style="list-style-type: lower-alpha"
390 >Lower alpha with paren</li
411>Should not be a list item:</p
417 /><h1 id="definition-lists"
420>Tight using spaces:</p
474>Multiple blocks with italics:</p
484 >contains seeds, crisp, pleasant to taste</p
495 >{ orange code block }
500 >orange block quote</p
505>Multiple definitions, tight:</p
521>Multiple definitions, loose:</p
545>Blank line after term, indented marker, alternate markers:</p
562 ><ol style="list-style-type: decimal"
573>Simple block on one line:</p
576>And nested without indentation:</p
584>Interpreted markdown in a table:</p
590<td>And this is <strong
596<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
598>Here’s a simple block:</p
602>This should be a code block, though:</p
614 ><div>foo</div>
626>This should just be an HTML comment:</p
636 This is another comment.
642 ><!-- Comment -->
646>Just plain comment, with trailing spaces on the line:</p
669<hr class="foo" id="bar" />
671<hr class="foo" id="bar" />
673<hr class="foo" id="bar">
675 /><h1 id="inline-markup"
698 >This is strong and em.</em
710 >This is strong and em.</em
732><span style="text-decoration: line-through;"
756>These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.</p
758 /><h1 id="smart-quotes-ellipses-dashes"
759>Smart quotes, ellipses, dashes</h1
761>“Hello,” said the spider. “‘Shelob’ is my name.”</p
763>‘A’, ‘B’, and ‘C’ are letters.</p
765>‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p
767>‘He said, “I want to go.”’ Were you alive in the 70’s?</p
769>Here is some quoted ‘<code
771 >’ and a “<a href="http://example.com/?foo=1&bar=2"
775>Some dashes: one—two — three—four — five.</p
777>Dashes between numbers: 5–7, 255–66, 1987–1999.</p
779>Ellipses…and…and….</p
813 >Here’s some display math: <br
815 >$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</span
819 >Here’s one that has a line break in it: <span class="math"
828>These shouldn’t be math:</p
831 >To get the famous equation, write <code
837 > of money. So is $34,000. (It worked if “lot” is emphasized.)</li
839 >Shoes ($20) and socks ($5).</li
844 >this should be emphasized</em
848>Here’s a LaTeX table:</p
850 /><h1 id="special-characters"
851>Special Characters</h1
853>Here is some unicode:</p
862 >set membership: ∈</li
867>AT&T has an ampersand in their name.</p
869>AT&T is another way to write it.</p
897>Greater-than: ></p
914>Just a <a href="/url/"
918><a href="/url/" title="title"
922><a href="/url/" title="title preceded by two spaces"
926><a href="/url/" title="title preceded by a tab"
930><a href="/url/" title="title with "quotes" in it"
934><a href="/url/" title="title with single quotes"
938><a href="/url/with_underscore"
942><script type="text/javascript"
945h='nowhere.net';a='@';n='nobody';e=n+a+h;
946document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>');
950 >Email link (nobody at nowhere dot net)</noscript
972 >embedded [brackets]</a
977 > by itself should be a link.</p
979>Indented <a href="/url"
983>Indented <a href="/url"
987>Indented <a href="/url"
991>This should [not][] be a link.</p
998>Foo <a href="/url/" title="Title with "quotes" inside"
1002>Foo <a href="/url/" title="Title with "quote" inside"
1005><h2 id="with-ampersands"
1008>Here’s a <a href="http://example.com/?foo=1&bar=2"
1009 >link with an ampersand in the URL</a
1012>Here’s a link with an amersand in the link text: <a href="http://att.com/" title="AT&T"
1016>Here’s an <a href="/script?foo=1&bar=2"
1020>Here’s an <a href="/script?foo=1&bar=2"
1021 >inline link in pointy braces</a
1026>With an ampersand: <a href="http://example.com/?foo=1&bar=2"
1028 >http://example.com/?foo=1&bar=2</code
1035 ><a href="http://example.com/"
1037 >http://example.com/</code
1044>An e-mail address: <script type="text/javascript"
1047h='nowhere.net';a='@';n='nobody';e=n+a+h;
1048document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'<code>'+e+'</code>'+'<\/'+'a'+'>');
1052 >nobody at nowhere dot net</noscript
1056 >Blockquoted: <a href="http://example.com/"
1058 >http://example.com/</code
1063>Auto-links should not occur here: <code
1064 ><http://example.com/></code
1068 >or here: <http://example.com/>
1075>From “Voyage dans la Lune” by Georges Melies (1902):</p
1077><img src="lalune.jpg" title="Voyage dans la Lune" alt="lalune"
1078 /><p class="caption"
1082>Here is a movie <img src="movie.jpg" alt="movie"
1085 /><h1 id="footnotes"
1088>Here is a footnote reference,<sup
1089 ><a href="#fn1" class="footnoteRef" id="fnref1"
1093 ><a href="#fn2" class="footnoteRef" id="fnref2"
1098 > be a footnote reference, because it contains a space.[^my note] Here is an inline note.<sup
1099 ><a href="#fn3" class="footnoteRef" id="fnref3"
1105 >Notes can go in quotes.<sup
1106 ><a href="#fn4" class="footnoteRef" id="fnref4"
1111><ol style="list-style-type: decimal"
1113 >And in list items.<sup
1114 ><a href="#fn5" class="footnoteRef" id="fnref5"
1120>This paragraph should not be part of the note, as it is not indented.</p
1121><div class="footnotes"
1126 >Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document. <a href="#fnref1" class="footnoteBackLink" title="Jump back to footnote 1">↩</a></p
1130 >Here’s the long note. This one contains multiple blocks.</p
1132 >Subsequent blocks are indented to show that they belong to the footnote (as with list items).</p
1139 >If you want, you can indent every line, but you can also be lazy and just indent the first line of each block. <a href="#fnref2" class="footnoteBackLink" title="Jump back to footnote 2">↩</a></p
1145 > to type. Inline notes may contain <a href="http://google.com"
1149 > verbatim characters, as well as [bracketed text]. <a href="#fnref3" class="footnoteBackLink" title="Jump back to footnote 3">↩</a></p
1153 >In quote. <a href="#fnref4" class="footnoteBackLink" title="Jump back to footnote 4">↩</a></p
1157 >In list. <a href="#fnref5" class="footnoteBackLink" title="Jump back to footnote 5">↩</a></p
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list