1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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"
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";
86 >Nested block quotes:</p
97 >This should not be a block quote: 2 > 1.</p
106 print "working";
116 >take out the trash</li
120 >Here’s a nested one:</p
126 >Don’t quote me.</p
130 >And a following paragraph.</p
132 /><h1 id="code-blocks"
138 >---- (should be four hyphens)
141 print "working";
144this code block is indented by one tab
151 > this code block is indented by two tabs
153These should not be escaped: \$ \\ \> \[ \{
262 >Loose using tabs:</p
278 >and using spaces:</p
294 >Multiple paragraphs:</p
298 >Item 1, graf one.</p
300 >Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.</p
326 >Here’s another:</p
344 >Same thing but with paragraphs:</p
367 ><h2 id="tabs-and-spaces"
372 >this is a list item indented with tabs</p
376 >this is a list item indented with spaces</p
380 >this is an example list item indented with tabs</p
384 >this is an example list item indented with spaces</p
390 /><h1 id="definition-lists"
391 >Definition Lists</h1
393 >Tight using spaces:</p
409 >Tight using tabs:</p
447 >Multiple blocks with italics:</p
457 >contains seeds, crisp, pleasant to taste</p
468 >{ orange code block }
473 >orange block quote</p
477 ><h1 id="html-blocks"
480 >Simple block on one line:</p
483 >And nested without indentation:</p
491 >Interpreted markdown in a table:</p
497<td>And this is <strong
503<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
505 >Here’s a simple block:</p
509 >This should be a code block, though:</p
521 ><div>foo</div>
533 >This should just be an HTML comment:</p
543 This is another comment.
549 ><!-- Comment -->
553 >Just plain comment, with trailing spaces on the line:</p
576<hr class="foo" id="bar" />
578<hr class="foo" id="bar" />
580<hr class="foo" id="bar">
582 /><h1 id="inline-markup"
605 >This is strong and em.</em
617 >This is strong and em.</em
639 /><h1 id="smart-quotes-ellipses-dashes"
640 >Smart quotes, ellipses, dashes</h1
642 >“Hello,” said the spider. “‘Shelob’ is my name.”</p
644 >‘A’, ‘B’, and ‘C’ are letters.</p
646 >‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p
648 >‘He said, “I want to go.”’ Were you alive in the 70’s?</p
650 >Here is some quoted ‘<code
652 >’ and a “<a href="http://example.com/?foo=1&bar=2"
656 >Some dashes: one—two—three—four—five.</p
658 >Dashes between numbers: 5–7, 255–66, 1987–1999.</p
660 >Ellipses…and…and….</p
666 >\cite[22-23]{smith.1899}</li
674 >$\alpha \wedge \omega$</li
680 >$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</li
682 >Here’s one that has a line break in it: $\alpha + \omega \times x^2$.</li
685 >These shouldn’t be math:</p
688 >To get the famous equation, write <code
694 > of money. So is $34,000. (It worked if “lot” is emphasized.)</li
699 >this should be emphasized</em
703 >Here’s a LaTeX table:</p
705 >\begin{tabular}{|l|l|}\hline
706Animal & Number \\ \hline
711 /><h1 id="special-characters"
712 >Special Characters</h1
714 >Here is some unicode:</p
723 >set membership: ∈</li
728 >AT&T has an ampersand in their name.</p
730 >AT&T is another way to write it.</p
758 >Greater-than: ></p
775 >Just a <a href="/url/"
779 ><a href="/url/" title="title"
783 ><a href="/url/" title="title preceded by two spaces"
787 ><a href="/url/" title="title preceded by a tab"
791 ><a href="/url/" title="title with "quotes" in it"
795 ><a href="/url/" title="title with single quotes"
799 ><a href="/url/with_underscore"
803 ><script type="text/javascript"
806h='nowhere.net';a='@';n='nobody';e=n+a+h;
807document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>');
811 >Email link (nobody at nowhere dot net)</noscript
832 >With <a href="/url/"
833 >embedded [brackets]</a
838 > by itself should be a link.</p
840 >Indented <a href="/url"
844 >Indented <a href="/url"
848 >Indented <a href="/url"
852 >This should [not][] be a link.</p
859 >Foo <a href="/url/" title="Title with "quotes" inside"
863 >Foo <a href="/url/" title="Title with "quote" inside"
866 ><h2 id="with-ampersands"
869 >Here’s a <a href="http://example.com/?foo=1&bar=2"
870 >link with an ampersand in the URL</a
873 >Here’s a link with an amersand in the link text: <a href="http://att.com/" title="AT&T"
877 >Here’s an <a href="/script?foo=1&bar=2"
881 >Here’s an <a href="/script?foo=1&bar=2"
882 >inline link in pointy braces</a
887 >With an ampersand: <a href="http://example.com/?foo=1&bar=2"
888 >http://example.com/?foo=1&bar=2</a
894 ><a href="http://example.com/"
895 >http://example.com/</a
901 >An e-mail address: <script type="text/javascript"
904h='nowhere.net';a='@';n='nobody';e=n+a+h;
905document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+e+'<\/'+'a'+'>');
909 >nobody at nowhere dot net</noscript
913 >Blockquoted: <a href="http://example.com/"
914 >http://example.com/</a
918 >Auto-links should not occur here: <code
919 ><http://example.com/></code
923 >or here: <http://example.com/>
930 >From “Voyage dans la Lune” by Georges Melies (1902):</p
932 ><img src="lalune.jpg" title="Voyage dans la Lune" alt="lalune"
935 >Here is a movie <img src="movie.jpg" title="" alt="movie"
941 >Here is a footnote reference,<a href="#fn1" class="footnoteRef" id="fnref1"
945 > and another.<a href="#fn2" class="footnoteRef" id="fnref2"
951 > be a footnote reference, because it contains a space.[^my note] Here is an inline note.<a href="#fn3" class="footnoteRef" id="fnref3"
958 >Notes can go in quotes.<a href="#fn4" class="footnoteRef" id="fnref4"
966 >And in list items.<a href="#fn5" class="footnoteRef" id="fnref5"
973 >This paragraph should not be part of the note, as it is not indented.</p
974 ><div class="footnotes"
979 >Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.</p
980 ><a href="#fnref1" class="footnoteBacklink" title="Jump back to footnote 1"
985 >Here’s the long note. This one contains multiple blocks.</p
987 >Subsequent blocks are indented to show that they belong to the footnote (as with list items).</p
994 >If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.</p
995 ><a href="#fnref2" class="footnoteBacklink" title="Jump back to footnote 2"
1002 > to type. Inline notes may contain <a href="http://google.com"
1006 > verbatim characters, as well as [bracketed text].</p
1007 ><a href="#fnref3" class="footnoteBacklink" title="Jump back to footnote 3"
1013 ><a href="#fnref4" class="footnoteBacklink" title="Jump back to footnote 4"
1019 ><a href="#fnref5" class="footnoteBacklink" title="Jump back to footnote 5"
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