1\enableregime[utf] % use UTF-8
3\setupcolors[state=start]
4\setupinteraction[state=start, color=middleblue] % needed for hyperlinks
6\setuppapersize[letter][letter] % use letter paper
7\setuplayout[width=middle, backspace=1.5in, cutspace=1.5in,
8 height=middle, header=0.75in, footer=0.75in] % page layout
9\setuppagenumbering[location={footer,center}] % number pages
10\setupbodyfont[11pt] % 11pt font
11\setupwhitespace[medium] % inter-paragraph spacing
13\setuphead[section][style=\tfc]
14\setuphead[subsection][style=\tfb]
15\setuphead[subsubsection][style=\bf]
17% define descr (for definition lists)
18\definedescription[descr][
19 headstyle=bold,style=normal,align=left,location=hanging,
20 width=broad,margin=1cm]
22% prevent orphaned list intros
23\setupitemize[autointro]
25% define defaults for bulleted lists
26\setupitemize[1][symbol=1][indentnext=no]
27\setupitemize[2][symbol=2][indentnext=no]
28\setupitemize[3][symbol=3][indentnext=no]
29\setupitemize[4][symbol=4][indentnext=no]
31\setupthinrules[width=15em] % width of horizontal rules
41[\v!blockquote][\v!quotation]
47before={\blank[medium]},
48after={\blank[medium]},
54\startalignment[center]
56 {\tfd Pandoc Test Suite}
58 {\tfa John MacFarlane\crlf Anonymous}
64This is a set of tests for pandoc. Most of them are adapted from
65John Gruber's markdown test suite.
71\subsubject{Level 2 with an \useURL[1][/url][][embedded link]\from[1]}
73\subsubsubject{Level 3 with {\em emphasis}}
75\subsubsubsubject{Level 4}
77\subsubsubsubsubject{Level 5}
81\subsubject{Level 2 with {\em emphasis}}
83\subsubsubject{Level 3}
95Here's a regular paragraph.
97In Markdown 1.0.0 and earlier. Version 8. This line turns into a
98list item. Because a hard-wrapped line in the middle of a paragraph
99looked like a list item.
101Here's one with a bullet. * criminey.
103There should be a hard line break\crlf
108\subject{Block Quotes}
113This is a block quote. It is pretty short.
117Code in a block quote:
127\startitemize[n][stopper=.]
145This should not be a block quote: 2 \lettermore{} 1.
147And a following paragraph.
156---- (should be four hyphens)
162this code block is indented by one tab
168 this code block is indented by two tabs
170These should not be escaped: \$ \\ \> \[ \{
177\subsubject{Unordered}
249\startitemize[n][stopper=.]
260\startitemize[n][stopper=.]
271\startitemize[n][stopper=.]
282\startitemize[n][stopper=.]
293\startitemize[n][stopper=.]
297 Item 1. graf two. The quick brown fox jumped over the lazy dog's
322\startitemize[n][stopper=.]
339Same thing but with paragraphs:
341\startitemize[n][stopper=.]
359\subsubject{Tabs and spaces}
363 this is a list item indented with tabs
365 this is a list item indented with spaces
369 this is an example list item indented with tabs
371 this is an example list item indented with spaces
375\subsubject{Fancy list markers}
377\startitemize[n][start=2,left=(,stopper=),width=2.0em]
385 \startitemize[r][start=4,stopper=.,width=2.0em]
387 sublist with roman numerals, starting with 4
390 \startitemize[A][left=(,stopper=),width=2.0em]
401\startitemize[A][stopper=.]
404 \startitemize[R][stopper=.]
407 \startitemize[n][start=6,left=(,stopper=),width=2.0em]
410 \startitemize[a][start=3,stopper=)]
412 Lower alpha with paren
431Should not be a list item:
439\subject{Definition Lists}
483Multiple blocks with italics:
485\startdescr{{\em apple}}
488contains seeds, crisp, pleasant to taste
491\startdescr{{\em orange}}
503Multiple definitions, tight:
517Multiple definitions, loose:
531Blank line after term, indented marker, alternate markers:
542\startitemize[n][stopper=.]
552Simple block on one line:
555And nested without indentation:
559Interpreted markdown in a table:
561This is {\em emphasized}
562And this is {\bf strong}
563Here's a simple block:
566This should be a code block, though:
583This should just be an HTML comment:
593Just plain comment, with trailing spaces on the line:
605\subject{Inline Markup}
607This is {\em emphasized}, and so {\em is this}.
609This is {\bf strong}, and so {\bf is this}.
611An {\em \useURL[2][/url][][emphasized link]\from[2]}.
613{\bf {\em This is strong and em.}}
615So is {\bf {\em this}} word.
617{\bf {\em This is strong and em.}}
619So is {\bf {\em this}} word.
621This is code: \type{>}, \type{$}, \type{\}, \type{\$},
624\overstrikes{This is {\em strikeout}.}
626Superscripts: a\high{bc}d a\high{{\em hello}} a\high{hello~there}.
628Subscripts: H\low{2}O, H\low{23}O, H\low{many~of~them}O.
630These should not be superscripts or subscripts, because of the
631unescaped spaces: a\letterhat{}b c\letterhat{}d, a\lettertilde{}b
636\subject{Smart quotes, ellipses, dashes}
638\quotation{Hello,} said the spider.
639\quotation{\quote{Shelob} is my name.}
641\quote{A}, \quote{B}, and \quote{C} are letters.
643\quote{Oak,} \quote{elm,} and \quote{beech} are names of trees. So
646\quote{He said, \quotation{I want to go.}} Were you alive in the
649Here is some quoted \quote{\type{code}} and a
650\quotation{\useURL[3][http://example.com/?foo=1&bar=2][][quoted link]\from[3]}.
652Some dashes: one---two --- three---four --- five.
654Dashes between numbers: 5--7, 255--66, 1987--1999.
656Ellipses\ldots{}and\ldots{}and\ldots{}.
664 \cite[22-23]{smith.1899}
670 $\alpha \wedge \omega$
676 Here's some display math:
677 \startformula \frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h} \stopformula
679 Here's one that has a line break in it:
680 $\alpha + \omega \times x^2$.
683These shouldn't be math:
687 To get the famous equation, write \type{$e = mc^2$}.
689 \$22,000 is a {\em lot} of money. So is \$34,000. (It worked if
690 \quotation{lot} is emphasized.)
692 Shoes (\$20) and socks (\$5).
694 Escaped \type{$}: \$73 {\em this should be emphasized} 23\$.
699\begin{tabular}{|l|l|}\hline
700Animal & Number \\ \hline
707\subject{Special Characters}
724AT\&T has an ampersand in their name.
726AT\&T is another way to write it.
734Backslash: \letterbackslash{}
740Underscore: \letterunderscore{}
742Left brace: \letteropenbrace{}
744Right brace: \letterclosebrace{}
754Greater-than: \lettermore{}
772Just a \useURL[4][/url/][][URL]\from[4].
774\useURL[5][/url/][][URL and title]\from[5].
776\useURL[6][/url/][][URL and title]\from[6].
778\useURL[7][/url/][][URL and title]\from[7].
780\useURL[8][/url/][][URL and title]\from[8]
782\useURL[9][/url/][][URL and title]\from[9]
784\useURL[10][/url/with_underscore][][with\letterunderscore{}underscore]\from[10]
786\useURL[11][mailto:nobody@nowhere.net][][Email link]\from[11]
788\useURL[12][][][Empty]\from[12].
790\subsubject{Reference}
792Foo \useURL[13][/url/][][bar]\from[13].
794Foo \useURL[14][/url/][][bar]\from[14].
796Foo \useURL[15][/url/][][bar]\from[15].
798With \useURL[16][/url/][][embedded {[}brackets{]}]\from[16].
800\useURL[17][/url/][][b]\from[17] by itself should be a link.
802Indented \useURL[18][/url][][once]\from[18].
804Indented \useURL[19][/url][][twice]\from[19].
806Indented \useURL[20][/url][][thrice]\from[20].
808This should {[}not{]}{[}{]} be a link.
814Foo \useURL[21][/url/][][bar]\from[21].
816Foo \useURL[22][/url/][][biz]\from[22].
818\subsubject{With ampersands}
821\useURL[23][http://example.com/?foo=1&bar=2][][link with an ampersand in the URL]\from[23].
823Here's a link with an amersand in the link text:
824\useURL[24][http://att.com/][][AT\&T]\from[24].
826Here's an \useURL[25][/script?foo=1&bar=2][][inline link]\from[25].
829\useURL[26][/script?foo=1&bar=2][][inline link in pointy braces]\from[26].
831\subsubject{Autolinks}
834\useURL[27][http://example.com/?foo=1&bar=2][][http://example.com/?foo=1\&bar=2]\from[27]
840 \useURL[28][http://example.com/][][http://example.com/]\from[28]
846\useURL[29][mailto:nobody@nowhere.net][][nobody@nowhere.net]\from[29]
850\useURL[30][http://example.com/][][http://example.com/]\from[30]
853Auto-links should not occur here: \type{<http://example.com/>}
856or here: <http://example.com/>
863From \quotation{Voyage dans la Lune} by Georges Melies (1902):
865\placefigure[here,nonumber]{lalune}{\externalfigure[lalune.jpg]}
867Here is a movie {\externalfigure[movie.jpg]} icon.
873Here is a footnote reference,
874\footnote{Here is the footnote. It can go anywhere after the footnote
875reference. It need not be placed at the end of the document.}
877\footnote{Here's the long note. This one contains multiple blocks.
879Subsequent blocks are indented to show that they belong to the
880footnote (as with list items).
886If you want, you can indent every line, but you can also be lazy
887and just indent the first line of each block.}
888This should {\em not} be a footnote reference, because it contains
889a space.{[}\letterhat{}my note{]} Here is an inline note.
890\footnote{This is {\em easier} to type. Inline notes may contain
891\useURL[31][http://google.com][][links]\from[31] and \type{]}
892verbatim characters, as well as {[}bracketed text{]}.}
895Notes can go in quotes.
899\startitemize[n][stopper=.]
905This paragraph should not be part of the note, as it is not
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