1.TH "Pandoc Test Suite" "" "July 17, 2006" "" ""
4This is a set of tests for pandoc.
5Most of them are adapted from John Gruber's markdown test suite.
9.SS Level 2 with an embedded link (/url)
10.SS Level 3 with \f[I]emphasis\f[]
14.SS Level 2 with \f[I]emphasis\f[]
25Here's a regular paragraph.
27In Markdown 1.0.0 and earlier.
29This line turns into a list item.
30Because a hard\-wrapped line in the middle of a paragraph looked like a list
33Here's one with a bullet.
36There should be a hard line break
58\ \ \ \ print\ "working";
80This should not be a block quote: 2 > 1.
82And a following paragraph.
91\-\-\-\-\ (should\ be\ four\ hyphens)
94\ \ \ \ print\ "working";
97this\ code\ block\ is\ indented\ by\ one\ tab
105\ \ \ \ this\ code\ block\ is\ indented\ by\ two\ tabs
107These\ should\ not\ be\ escaped:\ \ \\$\ \\\\\ \\>\ \\[\ \\{
203The quick brown fox jumped over the lazy dog's back.
237Same thing but with paragraphs:
254this is a list item indented with tabs
256this is a list item indented with spaces
259this is an example list item indented with tabs
261this is an example list item indented with spaces
263.SS Fancy list markers
272sublist with roman numerals, starting with 4
294Lower alpha with paren
309Should not be a list item:
370Multiple blocks with italics:
376contains seeds, crisp, pleasant to taste
385{\ orange\ code\ block\ }
394Multiple definitions, tight:
412Multiple definitions, loose:
430Blank line after term, indented marker, alternate markers:
450Simple block on one line:
453And nested without indentation:
458Interpreted markdown in a table:
459This is \f[I]emphasized\f[]
460And this is \f[B]strong\f[]
462Here's a simple block:
466This should be a code block, though:
487This should just be an HTML comment:
495<!\-\-\ Comment\ \-\->
499Just plain comment, with trailing spaces on the line:
514This is \f[I]emphasized\f[], and so \f[I]is this\f[].
516This is \f[B]strong\f[], and so \f[B]is this\f[].
518An \f[I]emphasized link (/url)\f[].
520\f[B]\f[BI]This is strong and em.\f[B]\f[]
522So is \f[B]\f[BI]this\f[B]\f[] word.
524\f[B]\f[BI]This is strong and em.\f[B]\f[]
526So is \f[B]\f[BI]this\f[B]\f[] word.
528This is code: \f[C]>\f[], \f[C]$\f[], \f[C]\\\f[], \f[C]\\$\f[],
531[STRIKEOUT:This is \f[I]strikeout\f[].]
533Superscripts: a^bc^d a^\f[I]hello\f[]^ a^hello\ there^.
535Subscripts: H~2~O, H~23~O, H~many\ of\ them~O.
537These should not be superscripts or subscripts, because of the unescaped
538spaces: a^b c^d, a~b c~d.
541.SH Smart quotes, ellipses, dashes
543\[lq]Hello,\[rq] said the spider.
544\[lq]`Shelob' is my name.\[rq]
546`A', `B', and `C' are letters.
548`Oak,' `elm,' and `beech' are names of trees.
551`He said, \[lq]I want to go.\[rq]' Were you alive in the 70's?
553Here is some quoted `\f[C]code\f[]' and a \[lq]quoted
554link (http://example.com/?foo=1&bar=2)\[rq].
556Some dashes: one\[em]two \[em] three\[em]four \[em] five.
558Dashes between numbers: 5\[en]7, 255\[en]66, 1987\[en]1999.
560Ellipses\&...and\&...and\&....
568\f[I]x\f[] ∈ \f[I]y\f[]
570\f[I]α\f[] ∧ \f[I]ω\f[]
576Here's some display math:
578$$\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)\-f(x)}{h}$$
581Here's one that has a line break in it:
582\f[I]α\f[] + \f[I]ω\f[] × \f[I]x\f[]^2^.
584These shouldn't be math:
586To get the famous equation, write \f[C]$e\ =\ mc^2$\f[].
588$22,000 is a \f[I]lot\f[] of money.
590(It worked if \[lq]lot\[rq] is emphasized.)
592Shoes ($20) and socks ($5).
594Escaped \f[C]$\f[]: $73 \f[I]this should be emphasized\f[] 23$.
599.SH Special Characters
613AT&T has an ampersand in their name.
615AT&T is another way to write it.
661URL and title (/url/).
663URL and title (/url/).
665URL and title (/url/).
671with_underscore (/url/with_underscore)
673Email 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