1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
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"
11 /><style type="text/css"
13.strikeout { text-decoration: line-through; }
14ol.decimal { list-style-type: decimal; }
15ol.lower-alpha { list-style-type: lower-alpha; }
16ol.lower-roman { list-style-type: lower-roman; }
17ol.upper-alpha { list-style-type: upper-alpha; }
18ol.upper-roman { list-style-type: upper-roman; }
23 >Pandoc Test Suite</h1
25 >This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite.</p
29 ><h2 id="level-2-with-an-embedded-link"
30 >Level 2 with an <a href="/url"
33 ><h3 id="level-3-with-emphasis"
43 ><h2 id="level-2-with-emphasis"
50 >with no blank line</p
54 >with no blank line</p
59 >Here’s a regular paragraph.</p
61 >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
63 >Here’s one with a bullet. * criminey.</p
65 >There should be a hard line break<br
68 /><h1 id="block-quotes"
74 >This is a block quote. It is pretty short.</p
78 >Code in a block quote:</p
82 print "working";
95 >Nested block quotes:</p
106 >This should not be a block quote: 2 > 1.</p
115 print "working";
125 >take out the trash</li
129 >Here’s a nested one:</p
135 >Don’t quote me.</p
139 >And a following paragraph.</p
141 /><h1 id="code-blocks"
147 >---- (should be four hyphens)
150 print "working";
153this code block is indented by one tab
160 > this code block is indented by two tabs
162These should not be escaped: \$ \\ \> \[ \{
271 >Loose using tabs:</p
287 >and using spaces:</p
303 >Multiple paragraphs:</p
307 >Item 1, graf one.</p
309 >Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.</p
335 >Here’s another:</p
353 >Same thing but with paragraphs:</p
376 ><h2 id="tabs-and-spaces"
381 >this is a list item indented with tabs</p
385 >this is a list item indented with spaces</p
389 >this is an example list item indented with tabs</p
393 >this is an example list item indented with spaces</p
398 ><h2 id="fancy-list-markers"
399 >Fancy list markers</h2
400 ><ol start="2" class="decimal"
407 >with a continuation</p
408 ><ol start="4" class="lower-roman"
410 >sublist with roman numerals, starting with 4</li
412 >more items<ol class="upper-alpha"
424 ><ol class="upper-alpha"
426 >Upper Alpha<ol class="upper-roman"
428 >Upper Roman.<ol start="6" class="decimal"
430 >Decimal start with 6<ol start="3" class="lower-alpha"
432 >Lower alpha with paren</li
453 >Should not be a list item:</p
459 /><h1 id="definition-lists"
460 >Definition Lists</h1
462 >Tight using spaces:</p
478 >Tight using tabs:</p
516 >Multiple blocks with italics:</p
526 >contains seeds, crisp, pleasant to taste</p
537 >{ orange code block }
542 >orange block quote</p
546 ><h1 id="html-blocks"
549 >Simple block on one line:</p
552 >And nested without indentation:</p
560 >Interpreted markdown in a table:</p
566<td>And this is <strong
572<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
574 >Here’s a simple block:</p
578 >This should be a code block, though:</p
590 ><div>foo</div>
602 >This should just be an HTML comment:</p
612 This is another comment.
618 ><!-- Comment -->
622 >Just plain comment, with trailing spaces on the line:</p
645<hr class="foo" id="bar" />
647<hr class="foo" id="bar" />
649<hr class="foo" id="bar">
651 /><h1 id="inline-markup"
674 >This is strong and em.</em
686 >This is strong and em.</em
708 ><span class="strikeout"
732 >These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.</p
734 /><h1 id="smart-quotes-ellipses-dashes"
735 >Smart quotes, ellipses, dashes</h1
737 >“Hello,” said the spider. “‘Shelob’ is my name.”</p
739 >‘A’, ‘B’, and ‘C’ are letters.</p
741 >‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p
743 >‘He said, “I want to go.”’ Were you alive in the 70’s?</p
745 >Here is some quoted ‘<code
747 >’ and a “<a href="http://example.com/?foo=1&bar=2"
751 >Some dashes: one—two—three—four—five.</p
753 >Dashes between numbers: 5–7, 255–66, 1987–1999.</p
755 >Ellipses…and…and….</p
761 >\cite[22-23]{smith.1899}</li
769 >$\alpha \wedge \omega$</li
775 >$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</li
777 >Here’s one that has a line break in it: $\alpha + \omega \times x^2$.</li
780 >These shouldn’t be math:</p
783 >To get the famous equation, write <code
789 > of money. So is $34,000. (It worked if “lot” is emphasized.)</li
794 >this should be emphasized</em
798 >Here’s a LaTeX table:</p
800 >\begin{tabular}{|l|l|}\hline
801Animal & Number \\ \hline
806 /><h1 id="special-characters"
807 >Special Characters</h1
809 >Here is some unicode:</p
818 >set membership: ∈</li
823 >AT&T has an ampersand in their name.</p
825 >AT&T is another way to write it.</p
853 >Greater-than: ></p
870 >Just a <a href="/url/"
874 ><a href="/url/" title="title"
878 ><a href="/url/" title="title preceded by two spaces"
882 ><a href="/url/" title="title preceded by a tab"
886 ><a href="/url/" title="title with "quotes" in it"
890 ><a href="/url/" title="title with single quotes"
894 ><a href="/url/with_underscore"
898 ><script type="text/javascript"
901h='nowhere.net';a='@';n='nobody';e=n+a+h;
902document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>');
906 >Email link (nobody at nowhere dot net)</noscript
927 >With <a href="/url/"
928 >embedded [brackets]</a
933 > by itself should be a link.</p
935 >Indented <a href="/url"
939 >Indented <a href="/url"
943 >Indented <a href="/url"
947 >This should [not][] be a link.</p
954 >Foo <a href="/url/" title="Title with "quotes" inside"
958 >Foo <a href="/url/" title="Title with "quote" inside"
961 ><h2 id="with-ampersands"
964 >Here’s a <a href="http://example.com/?foo=1&bar=2"
965 >link with an ampersand in the URL</a
968 >Here’s a link with an amersand in the link text: <a href="http://att.com/" title="AT&T"
972 >Here’s an <a href="/script?foo=1&bar=2"
976 >Here’s an <a href="/script?foo=1&bar=2"
977 >inline link in pointy braces</a
982 >With an ampersand: <a href="http://example.com/?foo=1&bar=2"
984 >http://example.com/?foo=1&bar=2</code
991 ><a href="http://example.com/"
993 >http://example.com/</code
1000 >An e-mail address: <script type="text/javascript"
1003h='nowhere.net';a='@';n='nobody';e=n+a+h;
1004document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'<code>'+e+'</code>'+'<\/'+'a'+'>');
1008 >nobody at nowhere dot net</noscript
1012 >Blockquoted: <a href="http://example.com/"
1014 >http://example.com/</code
1019 >Auto-links should not occur here: <code
1020 ><http://example.com/></code
1024 >or here: <http://example.com/>
1031 >From “Voyage dans la Lune” by Georges Melies (1902):</p
1033 ><img src="lalune.jpg" title="Voyage dans la Lune" alt="lalune"
1036 >Here is a movie <img src="movie.jpg" title="" alt="movie"
1039 /><h1 id="footnotes"
1042 >Here is a footnote reference,<a href="#fn1" class="footnoteRef" id="fnref1"
1046 > and another.<a href="#fn2" class="footnoteRef" id="fnref2"
1052 > be a footnote reference, because it contains a space.[^my note] Here is an inline note.<a href="#fn3" class="footnoteRef" id="fnref3"
1059 >Notes can go in quotes.<a href="#fn4" class="footnoteRef" id="fnref4"
1065 ><ol class="decimal"
1067 >And in list items.<a href="#fn5" class="footnoteRef" id="fnref5"
1074 >This paragraph should not be part of the note, as it is not indented.</p
1075 ><div class="footnotes"
1080 >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
1084 >Here’s the long note. This one contains multiple blocks.</p
1086 >Subsequent blocks are indented to show that they belong to the footnote (as with list items).</p
1093 >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
1099 > to type. Inline notes may contain <a href="http://google.com"
1103 > verbatim characters, as well as [bracketed text]. <a href="#fnref3" class="footnoteBackLink" title="Jump back to footnote 3">↩</a></p
1107 >In quote. <a href="#fnref4" class="footnoteBackLink" title="Jump back to footnote 4">↩</a></p
1111 >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