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