@@ -0,0 +1,749 @@
1+.TH "Pandoc Test Suite" "" "July 17, 2006"
3+This is a set of tests for pandoc\. Most of them are adapted from
4+John Gruber's markdown test suite\.
8+.SS Level 2 with an embedded link (/url)
9+.SS Level 3 with \f[I]emphasis\f[]
13+.SS Level 2 with \f[I]emphasis\f[]
24+Here's a regular paragraph\.
26+In Markdown 1\.0\.0 and earlier\. Version 8\. This line turns into
27+a list item\. Because a hard-wrapped line in the middle of a
28+paragraph looked like a list item\.
30+Here's one with a bullet\. * criminey\.
32+There should be a hard line break
44+This is a block quote\. It is pretty short\.
48+Code in a block quote:
52+ \ \ \ \ print\ \"working\";
73+This should not be a block quote: 2 > 1\.
82+ \ \ \ \ print\ \"working\";
103+And a following paragraph\.
111+ ----\ (should\ be\ four\ hyphens)
114+ \ \ \ \ print\ \"working\";
117+ this\ code\ block\ is\ indented\ by\ one\ tab
123+ \ \ \ \ this\ code\ block\ is\ indented\ by\ two\ tabs
125+ These\ should\ not\ be\ escaped:\ \ \\$\ \\\\\ \\>\ \\[\ \\{
218+Item 1\. graf two\. The quick brown fox jumped over the lazy dog's
253+Same thing but with paragraphs:
270+this is a list item indented with tabs
272+this is a list item indented with spaces
275+this is an example list item indented with tabs
277+this is an example list item indented with spaces
334+Multiple blocks with italics:
340+contains seeds, crisp, pleasant to taste
348+ {\ orange\ code\ block\ }
357+Simple block on one line:
363+And nested without indentation:
376+Interpreted markdown in a table:
380+This is \f[I]emphasized\f[]
383+And this is \f[B]strong\f[]
388+<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
391+Here's a simple block:
398+This should be a code block, though:
423+This should just be an HTML comment:
434+ This is another comment.
444+Just plain comment, with trailing spaces on the line:
467+<hr class="foo" id="bar" />
469+<hr class="foo" id="bar" />
471+<hr class="foo" id="bar">
477+This is \f[I]emphasized\f[], and so \f[I]is this\f[]\.
479+This is \f[B]strong\f[], and so \f[B]is this\f[]\.
481+An \f[I]emphasized link (/url)\f[]\.
483+\f[B]\f[I]This is strong and em\.\f[]\f[]
485+So is \f[B]\f[I]this\f[]\f[] word\.
487+\f[B]\f[I]This is strong and em\.\f[]\f[]
489+So is \f[B]\f[I]this\f[]\f[] word\.
491+This is code: \f[B]>\f[], \f[B]$\f[], \f[B]\\\f[], \f[B]\\$\f[],
495+.SH Smart quotes, ellipses, dashes
497+\[lq]Hello,\[rq] said the spider\. \[lq]`Shelob' is my name\.\[rq]
499+`A', `B', and `C' are letters\.
501+`Oak,' `elm,' and `beech' are names of trees\. So is `pine\.'
503+`He said, \[lq]I want to go\.\[rq]' Were you alive in the 70's?
505+Here is some quoted `\f[B]code\f[]' and a
506+\[lq]quoted link (http://example.com/?foo=1&bar=2)\[rq]\.
508+Some dashes: one\[em]two\[em]three\[em]four\[em]five\.
510+Dashes between numbers: 5\[en]7, 255\[en]66, 1987\[en]1999\.
512+Ellipses\&...and\&...and\&...\.
517+\\cite[22-23]{smith\.1899}
525+$\\alpha\ \\wedge\ \\omega$
531+$\\frac{d}{dx}f(x)=\\lim_{h\\to\ 0}\\frac{f(x+h)-f(x)}{h}$
533+Here's one that has a line break in it:
534+$\\alpha\ +\ \\omega\ \\times\ x^2$\.
536+These shouldn't be math:
538+To get the famous equation, write \f[B]$e\ =\ mc^2$\f[]\.
540+$22,000 is a \f[I]lot\f[] of money\. So is $34,000\. (It worked if
541+\[lq]lot\[rq] is emphasized\.)
543+Escaped \f[B]$\f[]: $73 \f[I]this should be emphasized\f[] 23$\.
545+Here's a LaTeX table:
547+\\begin{tabular}{|l|l|}\\hline
548+Animal\ &\ Number\ \\\\\ \\hline
549+Dog\ \ \ \ &\ 2\ \ \ \ \ \ \\\\
550+Cat\ \ \ \ &\ 1\ \ \ \ \ \ \\\\\ \\hline
554+.SH Special Characters
556+Here is some unicode:
568+AT&T has an ampersand in their name\.
570+AT&T is another way to write it\.
616+URL and title (/url/)\.
618+URL and title (/url/)\.
620+URL and title (/url/)\.
622+URL and title (/url/)
624+URL and title (/url/)
626+with_underscore (/url/with_underscore)
628+Email link (mailto:nobody@nowhere.net)
639+With embedded [brackets] (/url/)\.
641+b (/url/) by itself should be a link\.
643+Indented once (/url)\.
645+Indented twice (/url)\.
647+Indented thrice (/url)\.
649+This should [not][] be a link\.
661+link with an ampersand in the URL (http://example.com/?foo=1&bar=2)\.
663+Here's a link with an amersand in the link text:
664+AT&T (http://att.com/)\.
666+Here's an inline link (/script?foo=1&bar=2)\.
668+Here's an inline link in pointy braces (/script?foo=1&bar=2)\.
671+With an ampersand: <http://example.com/?foo=1&bar=2>
675+<http://example.com/>
679+An e-mail address: <nobody@nowhere.net>
682+Blockquoted: <http://example.com/>
685+Auto-links should not occur here: \f[B]<http://example\.com/>\f[]
688+ or\ here:\ <http://example\.com/>
694+From \[lq]Voyage dans la Lune\[rq] by Georges Melies (1902):
696+[IMAGE: lalune (lalune.jpg)]
698+Here is a movie [IMAGE: movie (movie.jpg)] icon\.
703+Here is a footnote reference,[1] and another\.[2] This should
704+\f[I]not\f[] be a footnote reference, because it contains a
705+space\.[^my note] Here is an inline note\.[3]
708+Notes can go in quotes\.[4]
711+And in list items\.[5]
713+This paragraph should not be part of the note, as it is not
719+Here is the footnote\. It can go anywhere after the footnote
720+reference\. It need not be placed at the end of the document\.
724+Here's the long note\. This one contains multiple blocks\.
726+Subsequent blocks are indented to show that they belong to the
727+footnote (as with list items)\.
733+If you want, you can indent every line, but you can also be lazy
734+and just indent the first line of each block\.
738+This is \f[I]easier\f[] to type\. Inline notes may contain
739+links (http://google.com) and \f[B]]\f[] verbatim characters\.
749+John MacFarlane, Anonymous