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"
5 >Pandoc Test Suite</title
6 ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
7 /><meta name="generator" content="pandoc"
8 /><meta name="author" content="John MacFarlane"
9 /><meta name="author" content="Anonymous"
10 /><meta name="date" content="July 17, 2006"
14 >Pandoc Test Suite</h1
16 >This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite.</p
20 ><h2 id="level-2-with-an-embedded-link"
21 >Level 2 with an <a href="/url"
24 ><h3 id="level-3-with-emphasis"
34 ><h2 id="level-2-with-emphasis"
41 >with no blank line</p
45 >with no blank line</p
50 >Here’s a regular paragraph.</p
52 >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
54 >Here’s one with a bullet. * criminey.</p
56 >There should be a hard line break<br
59 /><h1 id="block-quotes"
65 >This is a block quote. It is pretty short.</p
69 >Code in a block quote:</p
73 print "working";
79 ><ol style="list-style-type: decimal;"
86 >Nested block quotes:</p
97 >This should not be a block quote: 2 > 1.</p
99 >And a following paragraph.</p
101 /><h1 id="code-blocks"
107 >---- (should be four hyphens)
110 print "working";
113this code block is indented by one tab
120 > this code block is indented by two tabs
122These should not be escaped: \$ \\ \> \[ \{
212 ><ol style="list-style-type: decimal;"
222 ><ol style="list-style-type: decimal;"
231 >Loose using tabs:</p
232 ><ol style="list-style-type: decimal;"
247 >and using spaces:</p
248 ><ol style="list-style-type: decimal;"
263 >Multiple paragraphs:</p
264 ><ol style="list-style-type: decimal;"
267 >Item 1, graf one.</p
269 >Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.</p
295 >Here’s another:</p
296 ><ol style="list-style-type: decimal;"
313 >Same thing but with paragraphs:</p
314 ><ol style="list-style-type: decimal;"
336 ><h2 id="tabs-and-spaces"
341 >this is a list item indented with tabs</p
345 >this is a list item indented with spaces</p
349 >this is an example list item indented with tabs</p
353 >this is an example list item indented with spaces</p
358 ><h2 id="fancy-list-markers"
359 >Fancy list markers</h2
360 ><ol start="2" style="list-style-type: decimal;"
367 >with a continuation</p
368 ><ol start="4" style="list-style-type: lower-roman;"
370 >sublist with roman numerals, starting with 4</li
372 >more items<ol style="list-style-type: upper-alpha;"
384 ><ol style="list-style-type: upper-alpha;"
386 >Upper Alpha<ol style="list-style-type: upper-roman;"
388 >Upper Roman.<ol start="6" style="list-style-type: decimal;"
390 >Decimal start with 6<ol start="3" style="list-style-type: lower-alpha;"
392 >Lower alpha with paren</li
413 >Should not be a list item:</p
419 /><h1 id="definition-lists"
420 >Definition Lists</h1
422 >Tight using spaces:</p
438 >Tight using tabs:</p
476 >Multiple blocks with italics:</p
486 >contains seeds, crisp, pleasant to taste</p
497 >{ orange code block }
502 >orange block quote</p
506 ><h1 id="html-blocks"
509 >Simple block on one line:</p
512 >And nested without indentation:</p
520 >Interpreted markdown in a table:</p
526<td>And this is <strong
532<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
534 >Here’s a simple block:</p
538 >This should be a code block, though:</p
550 ><div>foo</div>
562 >This should just be an HTML comment:</p
572 This is another comment.
578 ><!-- Comment -->
582 >Just plain comment, with trailing spaces on the line:</p
605<hr class="foo" id="bar" />
607<hr class="foo" id="bar" />
609<hr class="foo" id="bar">
611 /><h1 id="inline-markup"
634 >This is strong and em.</em
646 >This is strong and em.</em
668 ><span style="text-decoration: line-through;"
681 >hello there</sup
689 >many of them</sub
692 >These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.</p
694 /><h1 id="smart-quotes-ellipses-dashes"
695 >Smart quotes, ellipses, dashes</h1
697 >“Hello,” said the spider. “‘Shelob’ is my name.”</p
699 >‘A’, ‘B’, and ‘C’ are letters.</p
701 >‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p
703 >‘He said, “I want to go.”’ Were you alive in the 70’s?</p
705 >Here is some quoted ‘<code
707 >’ and a “<a href="http://example.com/?foo=1&bar=2"
711 >Some dashes: one—two — three—four — five.</p
713 >Dashes between numbers: 5–7, 255–66, 1987–1999.</p
715 >Ellipses…and…and….</p
730 > ∈ <em
736 >α ∧ ω</span
749 >Here’s some display math: <span class="math"
761 > → 0</sub
777 >Here’s one that has a line break in it: <span class="math"
778 >α+ω × <em
786 >These shouldn’t be math:</p
789 >To get the famous equation, write <code
795 > of money. So is $34,000. (It worked if “lot” is emphasized.)</li
797 >Shoes ($20) and socks ($5).</li
802 >this should be emphasized</em
806 >Here’s a LaTeX table:</p
810 /><h1 id="special-characters"
811 >Special Characters</h1
813 >Here is some unicode:</p
822 >set membership: ∈</li
827 >AT&T has an ampersand in their name.</p
829 >AT&T is another way to write it.</p
857 >Greater-than: ></p
874 >Just a <a href="/url/"
878 ><a href="/url/" title="title"
882 ><a href="/url/" title="title preceded by two spaces"
886 ><a href="/url/" title="title preceded by a tab"
890 ><a href="/url/" title="title with "quotes" in it"
894 ><a href="/url/" title="title with single quotes"
898 ><a href="/url/with_underscore"
902 ><script type="text/javascript"
905h='nowhere.net';a='@';n='nobody';e=n+a+h;
906document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>');
910 >Email link (nobody at nowhere dot net)</noscript
931 >With <a href="/url/"
932 >embedded [brackets]</a
937 > by itself should be a link.</p
939 >Indented <a href="/url"
943 >Indented <a href="/url"
947 >Indented <a href="/url"
951 >This should [not][] be a link.</p
958 >Foo <a href="/url/" title="Title with "quotes" inside"
962 >Foo <a href="/url/" title="Title with "quote" inside"
965 ><h2 id="with-ampersands"
968 >Here’s a <a href="http://example.com/?foo=1&bar=2"
969 >link with an ampersand in the URL</a
972 >Here’s a link with an amersand in the link text: <a href="http://att.com/" title="AT&T"
976 >Here’s an <a href="/script?foo=1&bar=2"
980 >Here’s an <a href="/script?foo=1&bar=2"
981 >inline link in pointy braces</a
986 >With an ampersand: <a href="http://example.com/?foo=1&bar=2"
988 >http://example.com/?foo=1&bar=2</code
995 ><a href="http://example.com/"
997 >http://example.com/</code
1004 >An e-mail address: <script type="text/javascript"
1007h='nowhere.net';a='@';n='nobody';e=n+a+h;
1008document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'<code>'+e+'</code>'+'<\/'+'a'+'>');
1012 >nobody at nowhere dot net</noscript
1016 >Blockquoted: <a href="http://example.com/"
1018 >http://example.com/</code
1023 >Auto-links should not occur here: <code
1024 ><http://example.com/></code
1028 >or here: <http://example.com/>
1035 >From “Voyage dans la Lune” by Georges Melies (1902):</p
1037 ><img src="lalune.jpg" title="Voyage dans la Lune" alt="lalune"
1040 >Here is a movie <img src="movie.jpg" alt="movie"
1043 /><h1 id="footnotes"
1046 >Here is a footnote reference,<a href="#fn1" class="footnoteRef" id="fnref1"
1050 > and another.<a href="#fn2" class="footnoteRef" id="fnref2"
1056 > be a footnote reference, because it contains a space.[^my note] Here is an inline note.<a href="#fn3" class="footnoteRef" id="fnref3"
1063 >Notes can go in quotes.<a href="#fn4" class="footnoteRef" id="fnref4"
1069 ><ol style="list-style-type: decimal;"
1071 >And in list items.<a href="#fn5" class="footnoteRef" id="fnref5"
1078 >This paragraph should not be part of the note, as it is not indented.</p
1079 ><div class="footnotes"
1084 >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
1088 >Here’s the long note. This one contains multiple blocks.</p
1090 >Subsequent blocks are indented to show that they belong to the footnote (as with list items).</p
1097 >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
1103 > to type. Inline notes may contain <a href="http://google.com"
1107 > verbatim characters, as well as [bracketed text]. <a href="#fnref3" class="footnoteBackLink" title="Jump back to footnote 3">↩</a></p
1111 >In quote. <a href="#fnref4" class="footnoteBackLink" title="Jump back to footnote 4">↩</a></p
1115 >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