1.TH Pandoc "" "July 17, 2006" "Test Suite"
3This is a set of tests for pandoc.
4Most of them are adapted from 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[]
24Here's a regular paragraph.
26In Markdown 1.0.0 and earlier.
28This line turns into a list item.
29Because a hard-wrapped line in the middle of a paragraph looked like a list
32Here's one with a bullet.
35There should be a hard line break
57\ \ \ \ print\ "working";
79This should not be a block quote: 2 > 1.
81And a following paragraph.
90----\ (should\ be\ four\ hyphens)
93\ \ \ \ print\ "working";
96this\ code\ block\ is\ indented\ by\ one\ tab
104\ \ \ \ this\ code\ block\ is\ indented\ by\ two\ tabs
106These\ should\ not\ be\ escaped:\ \ \\$\ \\\\\ \\>\ \\[\ \\{
202The quick brown fox jumped over the lazy dog's back.
236Same thing but with paragraphs:
253this is a list item indented with tabs
255this is a list item indented with spaces
258this is an example list item indented with tabs
260this is an example list item indented with spaces
262.SS Fancy list markers
271sublist with roman numerals, starting with 4
293Lower alpha with paren
308Should not be a list item:
369Multiple blocks with italics:
375contains seeds, crisp, pleasant to taste
384{\ orange\ code\ block\ }
393Multiple definitions, tight:
411Multiple definitions, loose:
429Blank line after term, indented marker, alternate markers:
449Simple block on one line:
452And nested without indentation:
456Interpreted markdown in a table:
457This is \f[I]emphasized\f[]
458And this is \f[B]strong\f[]
460Here's a simple block:
463This should be a code block, though:
484This should just be an HTML comment:
496Just plain comment, with trailing spaces on the line:
511This is \f[I]emphasized\f[], and so \f[I]is this\f[].
513This is \f[B]strong\f[], and so \f[B]is this\f[].
515An \f[I]emphasized link (/url)\f[].
517\f[B]\f[I]This is strong and em.\f[]\f[]
519So is \f[B]\f[I]this\f[]\f[] word.
521\f[B]\f[I]This is strong and em.\f[]\f[]
523So is \f[B]\f[I]this\f[]\f[] word.
525This is code: \f[C]>\f[], \f[C]$\f[], \f[C]\\\f[], \f[C]\\$\f[],
528[STRIKEOUT:This is \f[I]strikeout\f[].]
530Superscripts: a^bc^d a^\f[I]hello\f[]^ a^hello\ there^.
532Subscripts: H~2~O, H~23~O, H~many\ of\ them~O.
534These should not be superscripts or subscripts, because of the unescaped
535spaces: a^b c^d, a~b c~d.
538.SH Smart quotes, ellipses, dashes
540\[lq]Hello,\[rq] said the spider.
541\[lq]`Shelob' is my name.\[rq]
543`A', `B', and `C' are letters.
545`Oak,' `elm,' and `beech' are names of trees.
548`He said, \[lq]I want to go.\[rq]' Were you alive in the 70's?
550Here is some quoted `\f[C]code\f[]' and a \[lq]quoted
551link (http://example.com/?foo=1&bar=2)\[rq].
553Some dashes: one\[em]two \[em] three\[em]four \[em] five.
555Dashes between numbers: 5\[en]7, 255\[en]66, 1987\[en]1999.
557Ellipses\&...and\&...and\&....
565\f[I]x\f[] ∈ \f[I]y\f[]
573Here's some display math:
575$\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}$
578Here's one that has a line break in it: α + ω × \f[I]x\f[]^2^.
580These shouldn't be math:
582To get the famous equation, write \f[C]$e\ =\ mc^2$\f[].
584$22,000 is a \f[I]lot\f[] of money.
586(It worked if \[lq]lot\[rq] is emphasized.)
588Shoes ($20) and socks ($5).
590Escaped \f[C]$\f[]: $73 \f[I]this should be emphasized\f[] 23$.
595.SH Special Characters
609AT&T has an ampersand in their name.
611AT&T is another way to write it.
657URL and title (/url/).
659URL and title (/url/).
661URL and title (/url/).
667with_underscore (/url/with_underscore)
669Email link (mailto:nobody@nowhere.net)
680With embedded [brackets] (/url/).
682b (/url/) by itself should be a link.
686Indented twice (/url).
688Indented thrice (/url).
690This should [not][] be a link.
703Here's a link with an ampersand in the URL (http://example.com/?foo=1&bar=2).
705Here's a link with an amersand in the link text: AT&T (http://att.com/).
707Here's an inline link (/script?foo=1&bar=2).
709Here's an inline link in pointy braces (/script?foo=1&bar=2).
712With an ampersand: <http://example.com/?foo=1&bar=2>
720An e-mail address: <nobody@nowhere.net>
723Blockquoted: <http://example.com/>
726Auto-links should not occur here: \f[C]<http://example.com/>\f[]
730or\ here:\ <http://example.com/>
737From \[lq]Voyage dans la Lune\[rq] by Georges Melies (1902):
739[IMAGE: lalune (lalune.jpg)]
741Here is a movie [IMAGE: movie (movie.jpg)] icon.
746Here is a footnote reference,[1] and another.[2] This should \f[I]not\f[] be a
747footnote reference, because it contains a space.[^my note] Here is an inline
751Notes can go in quotes.[4]
756This paragraph should not be part of the note, as it is not indented.
761It can go anywhere after the footnote reference.
762It need not be placed at the end of the document.
766This one contains multiple blocks.
768Subsequent blocks are indented to show that they belong to the footnote (as
777If you want, you can indent every line, but you can also be lazy and just
778indent the first line of each block.
781This is \f[I]easier\f[] to type.
782Inline notes may contain links (http://google.com) and \f[C]]\f[] verbatim
783characters, as well as [bracketed text].
791John 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