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 <title>Pandoc Test Suite</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="pandoc" />
7 <meta name="author" content="John MacFarlane" />
8 <meta name="author" content="Anonymous" />
9 <meta name="date" content="July 17, 2006" />
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
852 /><h1 id="special-characters"
853>Special Characters</h1
855>Here is some unicode:</p
864 >set membership: ∈</li
869>AT&T has an ampersand in their name.</p
871>AT&T is another way to write it.</p
899>Greater-than: ></p
916>Just a <a href="/url/"
920><a href="/url/" title="title"
924><a href="/url/" title="title preceded by two spaces"
928><a href="/url/" title="title preceded by a tab"
932><a href="/url/" title="title with "quotes" in it"
936><a href="/url/" title="title with single quotes"
940><a href="/url/with_underscore"
944><script type="text/javascript"
947h='nowhere.net';a='@';n='nobody';e=n+a+h;
948document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>');
952 >Email link (nobody at nowhere dot net)</noscript
974 >embedded [brackets]</a
979 > by itself should be a link.</p
981>Indented <a href="/url"
985>Indented <a href="/url"
989>Indented <a href="/url"
993>This should [not][] be a link.</p
1000>Foo <a href="/url/" title="Title with "quotes" inside"
1004>Foo <a href="/url/" title="Title with "quote" inside"
1007><h2 id="with-ampersands"
1010>Here’s a <a href="http://example.com/?foo=1&bar=2"
1011 >link with an ampersand in the URL</a
1014>Here’s a link with an amersand in the link text: <a href="http://att.com/" title="AT&T"
1018>Here’s an <a href="/script?foo=1&bar=2"
1022>Here’s an <a href="/script?foo=1&bar=2"
1023 >inline link in pointy braces</a
1028>With an ampersand: <a href="http://example.com/?foo=1&bar=2"
1030 >http://example.com/?foo=1&bar=2</code
1037 ><a href="http://example.com/"
1039 >http://example.com/</code
1046>An e-mail address: <script type="text/javascript"
1049h='nowhere.net';a='@';n='nobody';e=n+a+h;
1050document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'<code>'+e+'</code>'+'<\/'+'a'+'>');
1054 >nobody at nowhere dot net</noscript
1058 >Blockquoted: <a href="http://example.com/"
1060 >http://example.com/</code
1065>Auto-links should not occur here: <code
1066 ><http://example.com/></code
1070 >or here: <http://example.com/>
1077>From “Voyage dans la Lune” by Georges Melies (1902):</p
1079><img src="lalune.jpg" title="Voyage dans la Lune" alt="lalune"
1080 /><p class="caption"
1084>Here is a movie <img src="movie.jpg" alt="movie"
1087 /><h1 id="footnotes"
1090>Here is a footnote reference,<sup
1091 ><a href="#fn1" class="footnoteRef" id="fnref1"
1095 ><a href="#fn2" class="footnoteRef" id="fnref2"
1100 > be a footnote reference, because it contains a space.[^my note] Here is an inline note.<sup
1101 ><a href="#fn3" class="footnoteRef" id="fnref3"
1107 >Notes can go in quotes.<sup
1108 ><a href="#fn4" class="footnoteRef" id="fnref4"
1113><ol style="list-style-type: decimal;"
1115 >And in list items.<sup
1116 ><a href="#fn5" class="footnoteRef" id="fnref5"
1122>This paragraph should not be part of the note, as it is not indented.</p
1123><div class="footnotes"
1128 >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
1132 >Here’s the long note. This one contains multiple blocks.</p
1134 >Subsequent blocks are indented to show that they belong to the footnote (as with list items).</p
1141 >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
1147 > to type. Inline notes may contain <a href="http://google.com"
1151 > verbatim characters, as well as [bracketed text]. <a href="#fnref3" class="footnoteBackLink" title="Jump back to footnote 3">↩</a></p
1155 >In quote. <a href="#fnref4" class="footnoteBackLink" title="Jump back to footnote 4">↩</a></p
1159 >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