1.TH "Pandoc Test Suite" "" "July 17, 2006" "" ""
4This is a set of tests for pandoc.
5Most of them are adapted from John Gruber\[cq]s markdown test suite.
9.SS Level 2 with an embedded link (/url)
10.SS Level 3 with \f[I]emphasis\f[R]
14.SS Level 2 with \f[I]emphasis\f[R]
25Here\[cq]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\[cq]s one with a bullet.
36There should be a hard line break
58 print \[dq]working\[dq];
80This should not be a block quote: 2 > 1.
82And a following paragraph.
91---- (should be four hyphens)
94 print \[dq]working\[dq];
97this code block is indented by one tab
105 this code block is indented by two tabs
107These should not be escaped: \[rs]$ \[rs]\[rs] \[rs]> \[rs][ \[rs]{
203The quick brown fox jumped over the lazy dog\[cq]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:
352Multiple blocks with italics:
358contains seeds, crisp, pleasant to taste
376Multiple definitions, tight:
386Multiple definitions, loose:
396Blank line after term, indented marker, alternate markers:
412Simple block on one line:
415And nested without indentation:
420Interpreted markdown in a table:
421This is \f[I]emphasized\f[R]
422And this is \f[B]strong\f[R]
424Here\[cq]s a simple block:
428This should be a code block, though:
449This should just be an HTML comment:
461Just plain comment, with trailing spaces on the line:
476This is \f[I]emphasized\f[R], and so \f[I]is this\f[R].
478This is \f[B]strong\f[R], and so \f[B]is this\f[R].
480An \f[I]emphasized link (/url)\f[R].
482\f[B]\f[BI]This is strong and em.\f[B]\f[R]
484So is \f[B]\f[BI]this\f[B]\f[R] word.
486\f[B]\f[BI]This is strong and em.\f[B]\f[R]
488So is \f[B]\f[BI]this\f[B]\f[R] word.
490This is code: \f[C]>\f[R], \f[C]$\f[R], \f[C]\[rs]\f[R], \f[C]\[rs]$\f[R],
493[STRIKEOUT:This is \f[I]strikeout\f[R].]
495Superscripts: a^bc^d a^\f[I]hello\f[R]^ a^hello\ there^.
497Subscripts: H~2~O, H~23~O, H~many\ of\ them~O.
499These should not be superscripts or subscripts, because of the unescaped
500spaces: a\[ha]b c\[ha]d, a\[ti]b c\[ti]d.
503.SH Smart quotes, ellipses, dashes
505\[lq]Hello,\[rq] said the spider.
506\[lq]`Shelob' is my name.\[rq]
508`A', `B', and `C' are letters.
510`Oak,' `elm,' and `beech' are names of trees.
513`He said, \[lq]I want to go.\[rq]' Were you alive in the 70\[cq]s?
515Here is some quoted `\f[C]code\f[R]' and a \[lq]quoted
516link (http://example.com/?foo=1&bar=2)\[rq].
518Some dashes: one\[em]two \[em] three\[em]four \[em] five.
520Dashes between numbers: 5\[en]7, 255\[en]66, 1987\[en]1999.
522Ellipses\&...and\&...and\&....
5282\[u2005]+\[u2005]2\[u2004]=\[u2004]4
530\f[I]x\f[R]\[u2004]\[mo]\[u2004]\f[I]y\f[R]
532\f[I]\[*a]\f[R]\[u2005]\[AN]\[u2005]\f[I]\[*w]\f[R]
538Here\[cq]s some display math:
540$$\[rs]frac{d}{dx}f(x)=\[rs]lim_{h\[rs]to 0}\[rs]frac{f(x+h)-f(x)}{h}$$
543Here\[cq]s one that has a line break in it:
544\f[I]\[*a]\f[R]\[u2005]+\[u2005]\f[I]\[*w]\f[R]\[u2005]\[tmu]\[u2005]\f[I]x\f[R]^2^.
546These shouldn\[cq]t be math:
548To get the famous equation, write \f[C]$e = mc\[ha]2$\f[R].
550$22,000 is a \f[I]lot\f[R] of money.
552(It worked if \[lq]lot\[rq] is emphasized.)
554Shoes ($20) and socks ($5).
556Escaped \f[C]$\f[R]: $73 \f[I]this should be emphasized\f[R] 23$.
558Here\[cq]s a LaTeX table:
561.SH Special Characters
575AT&T has an ampersand in their name.
577AT&T is another way to write it.
623URL and title (/url/).
625URL and title (/url/).
627URL and title (/url/).
633with_underscore (/url/with_underscore)
635Email link (mailto:nobody@nowhere.net)
642With embedded [brackets] (/url/).
644b (/url/) by itself should be a link.
648Indented twice (/url).
650Indented thrice (/url).
652This should [not][] be a link.
665Here\[cq]s a link with an ampersand in the
666URL (http://example.com/?foo=1&bar=2).
668Here\[cq]s a link with an amersand in the link text: AT&T (http://att.com/).
670Here\[cq]s an inline link (/script?foo=1&bar=2).
672Here\[cq]s an inline link in pointy braces (/script?foo=1&bar=2).
675With an ampersand: <http://example.com/?foo=1&bar=2>
683An e-mail address: <nobody@nowhere.net>
686Blockquoted: <http://example.com/>
689Auto-links should not occur here: \f[C]<http://example.com/>\f[R]
693or here: <http://example.com/>
700From \[lq]Voyage dans la Lune\[rq] by Georges Melies (1902):
702[IMAGE: lalune (lalune.jpg)]
704Here is a movie [IMAGE: movie (movie.jpg)] icon.
709Here is a footnote reference,[1] and another.[2] This should \f[I]not\f[R] be
710a footnote reference, because it contains a space.[\[ha]my note] Here is an
714Notes can go in quotes.[4]
719This paragraph should not be part of the note, as it is not indented.
724It can go anywhere after the footnote reference.
725It need not be placed at the end of the document.
728Here\[cq]s the long note.
729This one contains multiple blocks.
731Subsequent blocks are indented to show that they belong to the footnote (as
740If you want, you can indent every line, but you can also be lazy and just
741indent the first line of each block.
744This is \f[I]easier\f[R] to type.
745Inline notes may contain links (http://google.com) and \f[C]]\f[R] verbatim
746characters, as well as [bracketed text].
754John 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