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
19 ><div id="level-2-with-an-embedded-link"
21 >Level 2 with an <a href="/url"
24 ><div id="level-3-with-emphasis"
43 ><div id="level-2-with-emphasis"
52 >with no blank line</p
59 >with no blank line</p
67 >Here’s a regular paragraph.</p
69 >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
71 >Here’s one with a bullet. * criminey.</p
73 >There should be a hard line break<br
77><div id="block-quotes"
84 >This is a block quote. It is pretty short.</p
88 >Code in a block quote:</p
92 print "working";
98 ><ol style="list-style-type: decimal;"
105 >Nested block quotes:</p
116 >This should not be a block quote: 2 > 1.</p
118 >And a following paragraph.</p
121><div id="code-blocks"
128 >---- (should be four hyphens)
131 print "working";
134this code block is indented by one tab
141 > this code block is indented by two tabs
143These should not be escaped: \$ \\ \> \[ \{
238 ><ol style="list-style-type: decimal;"
248 ><ol style="list-style-type: decimal;"
257 >Loose using tabs:</p
258 ><ol style="list-style-type: decimal;"
273 >and using spaces:</p
274 ><ol style="list-style-type: decimal;"
289 >Multiple paragraphs:</p
290 ><ol style="list-style-type: decimal;"
293 >Item 1, graf one.</p
295 >Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.</p
323 >Here’s another:</p
324 ><ol style="list-style-type: decimal;"
341 >Same thing but with paragraphs:</p
342 ><ol style="list-style-type: decimal;"
365 ><div id="tabs-and-spaces"
371 >this is a list item indented with tabs</p
375 >this is a list item indented with spaces</p
379 >this is an example list item indented with tabs</p
383 >this is an example list item indented with spaces</p
389 ><div id="fancy-list-markers"
391 >Fancy list markers</h2
392 ><ol start="2" style="list-style-type: decimal;"
399 >with a continuation</p
400 ><ol start="4" style="list-style-type: lower-roman;"
402 >sublist with roman numerals, starting with 4</li
404 >more items<ol style="list-style-type: upper-alpha;"
416 ><ol style="list-style-type: upper-alpha;"
418 >Upper Alpha<ol style="list-style-type: upper-roman;"
420 >Upper Roman.<ol start="6" style="list-style-type: decimal;"
422 >Decimal start with 6<ol start="3" style="list-style-type: lower-alpha;"
424 >Lower alpha with paren</li
445 >Should not be a list item:</p
453><div id="definition-lists"
455 >Definition Lists</h1
457 >Tight using spaces:</p
473 >Tight using tabs:</p
511 >Multiple blocks with italics:</p
521 >contains seeds, crisp, pleasant to taste</p
532 >{ orange code block }
537 >orange block quote</p
542 >Multiple definitions, tight:</p
558 >Multiple definitions, loose:</p
582 >Blank line after term, indented marker, alternate markers:</p
599 ><ol style="list-style-type: decimal;"
608><div id="html-blocks"
612 >Simple block on one line:</p
615 >And nested without indentation:</p
623 >Interpreted markdown in a table:</p
629<td>And this is <strong
635<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
637 >Here’s a simple block:</p
641 >This should be a code block, though:</p
653 ><div>foo</div>
665 >This should just be an HTML comment:</p
675 This is another comment.
681 ><!-- Comment -->
685 >Just plain comment, with trailing spaces on the line:</p
708<hr class="foo" id="bar" />
710<hr class="foo" id="bar" />
712<hr class="foo" id="bar">
715><div id="inline-markup"
739 >This is strong and em.</em
751 >This is strong and em.</em
773 ><span style="text-decoration: line-through;"
797 >These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.</p
800><div id="smart-quotes-ellipses-dashes"
802 >Smart quotes, ellipses, dashes</h1
804 >“Hello,” said the spider. “‘Shelob’ is my name.”</p
806 >‘A’, ‘B’, and ‘C’ are letters.</p
808 >‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p
810 >‘He said, “I want to go.”’ Were you alive in the 70’s?</p
812 >Here is some quoted ‘<code
814 >’ and a “<a href="http://example.com/?foo=1&bar=2"
818 >Some dashes: one—two — three—four — five.</p
820 >Dashes between numbers: 5–7, 255–66, 1987–1999.</p
822 >Ellipses…and…and….</p
858 >Here’s some display math: <span class="math"
886 >Here’s one that has a line break in it: <span class="math"
895 >These shouldn’t be math:</p
898 >To get the famous equation, write <code
904 > of money. So is $34,000. (It worked if “lot” is emphasized.)</li
906 >Shoes ($20) and socks ($5).</li
911 >this should be emphasized</em
915 >Here’s a LaTeX table:</p
920><div id="special-characters"
922 >Special Characters</h1
924 >Here is some unicode:</p
933 >set membership: ∈</li
938 >AT&T has an ampersand in their name.</p
940 >AT&T is another way to write it.</p
968 >Greater-than: ></p
988 >Just a <a href="/url/"
992 ><a href="/url/" title="title"
996 ><a href="/url/" title="title preceded by two spaces"
1000 ><a href="/url/" title="title preceded by a tab"
1004 ><a href="/url/" title="title with "quotes" in it"
1008 ><a href="/url/" title="title with single quotes"
1012 ><a href="/url/with_underscore"
1016 ><script type="text/javascript"
1019h='nowhere.net';a='@';n='nobody';e=n+a+h;
1020document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>');
1024 >Email link (nobody at nowhere dot net)</noscript
1031 ><div id="reference"
1035 >Foo <a href="/url/"
1039 >Foo <a href="/url/"
1043 >Foo <a href="/url/"
1047 >With <a href="/url/"
1048 >embedded [brackets]</a
1053 > by itself should be a link.</p
1055 >Indented <a href="/url"
1059 >Indented <a href="/url"
1063 >Indented <a href="/url"
1067 >This should [not][] be a link.</p
1074 >Foo <a href="/url/" title="Title with "quotes" inside"
1078 >Foo <a href="/url/" title="Title with "quote" inside"
1082 ><div id="with-ampersands"
1084 >With ampersands</h2
1086 >Here’s a <a href="http://example.com/?foo=1&bar=2"
1087 >link with an ampersand in the URL</a
1090 >Here’s a link with an amersand in the link text: <a href="http://att.com/" title="AT&T"
1094 >Here’s an <a href="/script?foo=1&bar=2"
1098 >Here’s an <a href="/script?foo=1&bar=2"
1099 >inline link in pointy braces</a
1102 ><div id="autolinks"
1106 >With an ampersand: <a href="http://example.com/?foo=1&bar=2"
1108 >http://example.com/?foo=1&bar=2</code
1115 ><a href="http://example.com/"
1117 >http://example.com/</code
1124 >An e-mail address: <script type="text/javascript"
1127h='nowhere.net';a='@';n='nobody';e=n+a+h;
1128document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'<code>'+e+'</code>'+'<\/'+'a'+'>');
1132 >nobody at nowhere dot net</noscript
1136 >Blockquoted: <a href="http://example.com/"
1138 >http://example.com/</code
1143 >Auto-links should not occur here: <code
1144 ><http://example.com/></code
1148 >or here: <http://example.com/>
1158 >From “Voyage dans la Lune” by Georges Melies (1902):</p
1160 ><img src="lalune.jpg" title="Voyage dans la Lune" alt="lalune"
1163 >Here is a movie <img src="movie.jpg" alt="movie"
1171 >Here is a footnote reference,<sup
1172 ><a href="#fn1" class="footnoteRef" id="fnref1"
1176 ><a href="#fn2" class="footnoteRef" id="fnref2"
1181 > be a footnote reference, because it contains a space.[^my note] Here is an inline note.<sup
1182 ><a href="#fn3" class="footnoteRef" id="fnref3"
1188 >Notes can go in quotes.<sup
1189 ><a href="#fn4" class="footnoteRef" id="fnref4"
1194 ><ol style="list-style-type: decimal;"
1196 >And in list items.<sup
1197 ><a href="#fn5" class="footnoteRef" id="fnref5"
1203 >This paragraph should not be part of the note, as it is not indented.</p
1205><div class="footnotes"
1210 >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
1214 >Here’s the long note. This one contains multiple blocks.</p
1216 >Subsequent blocks are indented to show that they belong to the footnote (as with list items).</p
1223 >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
1229 > to type. Inline notes may contain <a href="http://google.com"
1233 > verbatim characters, as well as [bracketed text]. <a href="#fnref3" class="footnoteBackLink" title="Jump back to footnote 3">↩</a></p
1237 >In quote. <a href="#fnref4" class="footnoteBackLink" title="Jump back to footnote 4">↩</a></p
1241 >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