3 \setupcolors[state=start]
7\setupinteraction[state=start, color=middleblue]
9\setuppapersize [letter][letter]
10\setuplayout [width=middle, backspace=1.5in, cutspace=1.5in,
11 height=middle, topspace=0.75in, bottomspace=0.75in]
13\setuppagenumbering[location={footer,center}]
17\setupwhitespace[medium]
19\setuphead[section] [style=\tfc]
20\setuphead[subsection] [style=\tfb]
21\setuphead[subsubsection][style=\bf]
25 [headstyle=bold, style=normal, location=hanging, width=broad, margin=1cm]
27\setupitemize[autointro] % prevent orphan list intro
28\setupitemize[indentnext=no]
30\setupthinrules[width=15em] % width of horizontal rules
34 [before={\blank[medium]},
35 after={\blank[medium]},
41\startalignment[center]
43 {\tfd Pandoc Test Suite}
45 {\tfa John MacFarlane\crlf Anonymous}
51This is a set of tests for pandoc. Most of them are adapted from John Gruber's
58\subsubject{Level 2 with an \useURL[1][/url][][embedded link]\from[1]}
60\subsubsubject{Level 3 with {\em emphasis}}
62\subsubsubsubject{Level 4}
64\subsubsubsubsubject{Level 5}
68\subsubject{Level 2 with {\em emphasis}}
70\subsubsubject{Level 3}
82Here's a regular paragraph.
84In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
85Because a hard-wrapped line in the middle of a paragraph looked like a list
88Here's one with a bullet. * criminey.
90There should be a hard line break\crlf
100This is a block quote. It is pretty short.
104Code in a block quote:
114\startitemize[n][stopper=.]
132This should not be a block quote: 2 \lettermore{} 1.
134And a following paragraph.
143---- (should be four hyphens)
149this code block is indented by one tab
155 this code block is indented by two tabs
157These should not be escaped: \$ \\ \> \[ \{
164\subsubject{Unordered}
236\startitemize[n][stopper=.]
247\startitemize[n][stopper=.]
258\startitemize[n][stopper=.]
269\startitemize[n][stopper=.]
280\startitemize[n][stopper=.]
284 Item 1. graf two. The quick brown fox jumped over the lazy dog's back.
308\startitemize[n][stopper=.]
325Same thing but with paragraphs:
327\startitemize[n][stopper=.]
345\subsubject{Tabs and spaces}
349 this is a list item indented with tabs
351 this is a list item indented with spaces
355 this is an example list item indented with tabs
357 this is an example list item indented with spaces
361\subsubject{Fancy list markers}
363\startitemize[n][start=2,left=(,stopper=),width=2.0em]
371 \startitemize[r][start=4,stopper=.,width=2.0em]
373 sublist with roman numerals, starting with 4
376 \startitemize[A][left=(,stopper=),width=2.0em]
387\startitemize[A][stopper=.]
390 \startitemize[R][stopper=.]
393 \startitemize[n][start=6,left=(,stopper=),width=2.0em]
396 \startitemize[a][start=3,stopper=)]
398 Lower alpha with paren
417Should not be a list item:
425\subject{Definition Lists}
429\startdescription{apple}
433\startdescription{orange}
437\startdescription{banana}
443\startdescription{apple}
447\startdescription{orange}
451\startdescription{banana}
457\startdescription{apple}
461\startdescription{orange}
465\startdescription{banana}
469Multiple blocks with italics:
471\startdescription{{\em apple}}
474 contains seeds, crisp, pleasant to taste
477\startdescription{{\em orange}}
489Multiple definitions, tight:
491\startdescription{apple}
497\startdescription{orange}
503Multiple definitions, loose:
505\startdescription{apple}
511\startdescription{orange}
517Blank line after term, indented marker, alternate markers:
519\startdescription{apple}
525\startdescription{orange}
528 \startitemize[n][stopper=.]
538Simple block on one line:
541And nested without indentation:
545Interpreted markdown in a table:
547This is {\em emphasized}
548And this is {\bf strong}
549Here's a simple block:
552This should be a code block, though:
569This should just be an HTML comment:
579Just plain comment, with trailing spaces on the line:
591\subject{Inline Markup}
593This is {\em emphasized}, and so {\em is this}.
595This is {\bf strong}, and so {\bf is this}.
597An {\em \useURL[2][/url][][emphasized link]\from[2]}.
599{\bf {\em This is strong and em.}}
601So is {\bf {\em this}} word.
603{\bf {\em This is strong and em.}}
605So is {\bf {\em this}} word.
607This is code: \type{>}, \type{$}, \type{\}, \type{\$}, \type{<html>}.
609\overstrikes{This is {\em strikeout}.}
611Superscripts: a\high{bc}d a\high{{\em hello}} a\high{hello~there}.
613Subscripts: H\low{2}O, H\low{23}O, H\low{many~of~them}O.
615These should not be superscripts or subscripts, because of the unescaped
616spaces: a\letterhat{}b c\letterhat{}d, a\lettertilde{}b c\lettertilde{}d.
620\subject{Smart quotes, ellipses, dashes}
622\quotation{Hello,} said the spider. \quotation{\quote{Shelob} is my name.}
624\quote{A}, \quote{B}, and \quote{C} are letters.
626\quote{Oak,} \quote{elm,} and \quote{beech} are names of trees. So is
629\quote{He said, \quotation{I want to go.}} Were you alive in the 70's?
631Here is some quoted \quote{\type{code}} and a
632\quotation{\useURL[3][http://example.com/?foo=1&bar=2][][quoted
635Some dashes: one---two --- three---four --- five.
637Dashes between numbers: 5--7, 255--66, 1987--1999.
639Ellipses\ldots{}and\ldots{}and\ldots{}.
647 \cite[22-23]{smith.1899}
653 $\alpha \wedge \omega$
659 Here's some display math:
660 \startformula \frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h} \stopformula
662 Here's one that has a line break in it: $\alpha + \omega \times x^2$.
665These shouldn't be math:
669 To get the famous equation, write \type{$e = mc^2$}.
671 \$22,000 is a {\em lot} of money. So is \$34,000. (It worked if
672 \quotation{lot} is emphasized.)
674 Shoes (\$20) and socks (\$5).
676 Escaped \type{$}: \$73 {\em this should be emphasized} 23\$.
683\subject{Special Characters}
700AT\&T has an ampersand in their name.
702AT\&T is another way to write it.
710Backslash: \letterbackslash{}
716Underscore: \letterunderscore{}
718Left brace: \letteropenbrace{}
720Right brace: \letterclosebrace{}
730Greater-than: \lettermore{}
748Just a \useURL[4][/url/][][URL]\from[4].
750\useURL[5][/url/][][URL and title]\from[5].
752\useURL[6][/url/][][URL and title]\from[6].
754\useURL[7][/url/][][URL and title]\from[7].
756\useURL[8][/url/][][URL and title]\from[8]
758\useURL[9][/url/][][URL and title]\from[9]
760\useURL[10][/url/with_underscore][][with\letterunderscore{}underscore]\from[10]
762\useURL[11][mailto:nobody@nowhere.net][][Email link]\from[11]
764\useURL[12][][][Empty]\from[12].
766\subsubject{Reference}
768Foo \useURL[13][/url/][][bar]\from[13].
770Foo \useURL[14][/url/][][bar]\from[14].
772Foo \useURL[15][/url/][][bar]\from[15].
774With \useURL[16][/url/][][embedded {[}brackets{]}]\from[16].
776\useURL[17][/url/][][b]\from[17] by itself should be a link.
778Indented \useURL[18][/url][][once]\from[18].
780Indented \useURL[19][/url][][twice]\from[19].
782Indented \useURL[20][/url][][thrice]\from[20].
784This should {[}not{]}{[}{]} be a link.
790Foo \useURL[21][/url/][][bar]\from[21].
792Foo \useURL[22][/url/][][biz]\from[22].
794\subsubject{With ampersands}
796Here's a \useURL[23][http://example.com/?foo=1&bar=2][][link with an ampersand
799Here's a link with an amersand in the link text:
800\useURL[24][http://att.com/][][AT\&T]\from[24].
802Here's an \useURL[25][/script?foo=1&bar=2][][inline link]\from[25].
804Here's an \useURL[26][/script?foo=1&bar=2][][inline link in pointy
807\subsubject{Autolinks}
810\useURL[27][http://example.com/?foo=1&bar=2][][http://example.com/?foo=1\&bar=2]\from[27]
816 \useURL[28][http://example.com/][][http://example.com/]\from[28]
822\useURL[29][mailto:nobody@nowhere.net][][nobody@nowhere.net]\from[29]
825Blockquoted: \useURL[30][http://example.com/][][http://example.com/]\from[30]
828Auto-links should not occur here: \type{<http://example.com/>}
831or here: <http://example.com/>
838From \quotation{Voyage dans la Lune} by Georges Melies (1902):
840\placefigure[here,nonumber]{lalune}{\externalfigure[lalune.jpg]}
842Here is a movie {\externalfigure[movie.jpg]} icon.
848Here is a footnote reference,\footnote{Here is the footnote. It can go
849 anywhere after the footnote reference. It need not be placed at the end of
850 the document.} and another.\startbuffer Here's the long note. This one
851 contains multiple blocks.
853 Subsequent blocks are indented to show that they belong to the footnote (as
860 If you want, you can indent every line, but you can also be lazy and just
861 indent the first line of each block.\stopbuffer\footnote{\getbuffer} This
862should {\em not} be a footnote reference, because it contains a
863space.{[}\letterhat{}my note{]} Here is an inline note.\footnote{This is
864 {\em easier} to type. Inline notes may contain
865 \useURL[31][http://google.com][][links]\from[31] and \type{]} verbatim
866 characters, as well as {[}bracketed text{]}.}
869Notes can go in quotes.\footnote{In quote.}
872\startitemize[n][stopper=.]
874 And in list items.\footnote{In list.}
877This paragraph should not be part of the note, as it is not indented.
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