1.TH Pandoc "" "July 17, 2006" "Test Suite"
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\.
75And a following paragraph\.
83 ----\ (should\ be\ four\ hyphens)
86 \ \ \ \ print\ "working";
89 this\ code\ block\ is\ indented\ by\ one\ tab
95 \ \ \ \ this\ code\ block\ is\ indented\ by\ two\ tabs
97 These\ should\ not\ be\ escaped:\ \ \\$\ \\\\\ \\>\ \\[\ \\{
190Item 1\. graf two\. The quick brown fox jumped over the lazy dog's
225Same thing but with paragraphs:
242this is a list item indented with tabs
244this is a list item indented with spaces
247this is an example list item indented with tabs
249this is an example list item indented with spaces
251.SS Fancy list markers
260sublist with roman numerals, starting with 4
282Lower alpha with paren
297Should not be a list item:
357Multiple blocks with italics:
363contains seeds, crisp, pleasant to taste
371 {\ orange\ code\ block\ }
380Simple block on one line:
386And nested without indentation:
399Interpreted markdown in a table:
403This is \f[I]emphasized\f[]
406And this is \f[B]strong\f[]
411<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
414Here's a simple block:
421This should be a code block, though:
446This should just be an HTML comment:
457 This is another comment.
467Just plain comment, with trailing spaces on the line:
490<hr class="foo" id="bar" />
492<hr class="foo" id="bar" />
494<hr class="foo" id="bar">
500This is \f[I]emphasized\f[], and so \f[I]is this\f[]\.
502This is \f[B]strong\f[], and so \f[B]is this\f[]\.
504An \f[I]emphasized link (/url)\f[]\.
506\f[B]\f[I]This is strong and em\.\f[]\f[]
508So is \f[B]\f[I]this\f[]\f[] word\.
510\f[B]\f[I]This is strong and em\.\f[]\f[]
512So is \f[B]\f[I]this\f[]\f[] word\.
514This is code: \f[B]>\f[], \f[B]$\f[], \f[B]\\\f[], \f[B]\\$\f[],
517[STRIKEOUT:This is \f[I]strikeout\f[]\.]
519Superscripts: a^bc^d a^\f[I]hello\f[]^ a^hello\ there^\.
521Subscripts: H~2~O, H~23~O, H~many\ of\ them~O\.
523These should not be superscripts or subscripts, because of the
524unescaped spaces: a^b c^d, a~b c~d\.
527.SH Smart quotes, ellipses, dashes
529\[lq]Hello,\[rq] said the spider\. \[lq]`Shelob' is my name\.\[rq]
531`A', `B', and `C' are letters\.
533`Oak,' `elm,' and `beech' are names of trees\. So is `pine\.'
535`He said, \[lq]I want to go\.\[rq]' Were you alive in the 70's?
537Here is some quoted `\f[B]code\f[]' and a
538\[lq]quoted link (http://example.com/?foo=1&bar=2)\[rq]\.
540Some dashes: one\[em]two \[em] three\[em]four \[em] five\.
542Dashes between numbers: 5\[en]7, 255\[en]66, 1987\[en]1999\.
544Ellipses\&...and\&...and\&...\.
554\f[B]\\alpha\ \\wedge\ \\omega\f[]
560Here's some display math:
562\f[B]\\frac{d}{dx}f(x)=\\lim_{h\\to\ 0}\\frac{f(x+h)-f(x)}{h}\f[]
565Here's one that has a line break in it:
566\f[B]\\alpha\ +\ \\omega\ \\times\ x^2\f[]\.
568These shouldn't be math:
570To get the famous equation, write \f[B]$e\ =\ mc^2$\f[]\.
572$22,000 is a \f[I]lot\f[] of money\. So is $34,000\. (It worked if
573\[lq]lot\[rq] is emphasized\.)
575Shoes ($20) and socks ($5)\.
577Escaped \f[B]$\f[]: $73 \f[I]this should be emphasized\f[] 23$\.
583.SH Special Characters
597AT&T has an ampersand in their name\.
599AT&T is another way to write it\.
645URL and title (/url/)\.
647URL and title (/url/)\.
649URL and title (/url/)\.
655with_underscore (/url/with_underscore)
657Email link (mailto:nobody@nowhere.net)
668With embedded [brackets] (/url/)\.
670b (/url/) by itself should be a link\.
672Indented once (/url)\.
674Indented twice (/url)\.
676Indented thrice (/url)\.
678This should [not][] be a link\.
690link with an ampersand in the URL (http://example.com/?foo=1&bar=2)\.
692Here's a link with an amersand in the link text:
693AT&T (http://att.com/)\.
695Here's an inline link (/script?foo=1&bar=2)\.
697Here's an inline link in pointy braces (/script?foo=1&bar=2)\.
700With an ampersand: <http://example.com/?foo=1&bar=2>
708An e-mail address: <nobody@nowhere.net>
711Blockquoted: <http://example.com/>
714Auto-links should not occur here: \f[B]<http://example\.com/>\f[]
717 or\ here:\ <http://example\.com/>
723From \[lq]Voyage dans la Lune\[rq] by Georges Melies (1902):
725[IMAGE: lalune (lalune.jpg)]
727Here is a movie [IMAGE: movie (movie.jpg)] icon\.
732Here is a footnote reference,[1] and another\.[2] This should
733\f[I]not\f[] be a footnote reference, because it contains a
734space\.[^my note] Here is an inline note\.[3]
737Notes can go in quotes\.[4]
740And in list items\.[5]
742This paragraph should not be part of the note, as it is not
748Here is the footnote\. It can go anywhere after the footnote
749reference\. It need not be placed at the end of the document\.
753Here's the long note\. This one contains multiple blocks\.
755Subsequent blocks are indented to show that they belong to the
756footnote (as with list items)\.
762If you want, you can indent every line, but you can also be lazy
763and just indent the first line of each block\.
767This is \f[I]easier\f[] to type\. Inline notes may contain
768links (http://google.com) and \f[B]]\f[] verbatim characters, as
769well as [bracketed text]\.
779John 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