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 title block commands
19\def\doctitle#1{\gdef\@title{#1}}
20\def\author#1{\gdef\@author{#1}}
21\def\date#1{\gdef\@date{#1}}
22\date{\currentdate} % Default to today unless specified otherwise.
24 \startalignment[center]
35% define descr (for definition lists)
36\definedescription[descr][
37 headstyle=bold,style=normal,align=left,location=hanging,
38 width=broad,margin=1cm]
40% prevent orphaned list intros
41\setupitemize[autointro]
43% define defaults for bulleted lists
44\setupitemize[1][symbol=1][indentnext=no]
45\setupitemize[2][symbol=2][indentnext=no]
46\setupitemize[3][symbol=3][indentnext=no]
47\setupitemize[4][symbol=4][indentnext=no]
49\setupthinrules[width=15em] % width of horizontal rules
59[\v!blockquote][\v!quotation]
65before={\blank[medium]},
66after={\blank[medium]},
71\doctitle{Pandoc Test Suite}
72\author{John MacFarlane\\Anonymous}
77This is a set of tests for pandoc. Most of them are adapted from
78John Gruber's markdown test suite.
84\subsubject{Level 2 with an \useURL[1][/url][][embedded link]\from[1]}
86\subsubsubject{Level 3 with {\em emphasis}}
88\subsubsubsubject{Level 4}
90\subsubsubsubsubject{Level 5}
94\subsubject{Level 2 with {\em emphasis}}
96\subsubsubject{Level 3}
108Here's a regular paragraph.
110In Markdown 1.0.0 and earlier. Version 8. This line turns into a
111list item. Because a hard-wrapped line in the middle of a paragraph
112looked like a list item.
114Here's one with a bullet. * criminey.
116There should be a hard line break\crlf
121\subject{Block Quotes}
126This is a block quote. It is pretty short.
130Code in a block quote:
140\startitemize[n][stopper=.]
158This should not be a block quote: 2 \lettermore{} 1.
160And a following paragraph.
169---- (should be four hyphens)
175this code block is indented by one tab
181 this code block is indented by two tabs
183These should not be escaped: \$ \\ \> \[ \{
190\subsubject{Unordered}
262\startitemize[n][stopper=.]
273\startitemize[n][stopper=.]
284\startitemize[n][stopper=.]
295\startitemize[n][stopper=.]
306\startitemize[n][stopper=.]
310 Item 1. graf two. The quick brown fox jumped over the lazy dog's
335\startitemize[n][stopper=.]
352Same thing but with paragraphs:
354\startitemize[n][stopper=.]
372\subsubject{Tabs and spaces}
376 this is a list item indented with tabs
378 this is a list item indented with spaces
382 this is an example list item indented with tabs
384 this is an example list item indented with spaces
388\subsubject{Fancy list markers}
390\startitemize[n][start=2,left=(,stopper=),width=2.0em]
398 \startitemize[r][start=4,stopper=.,width=2.0em]
400 sublist with roman numerals, starting with 4
403 \startitemize[A][left=(,stopper=),width=2.0em]
414\startitemize[A][stopper=.]
417 \startitemize[R][stopper=.]
420 \startitemize[n][start=6,left=(,stopper=),width=2.0em]
423 \startitemize[a][start=3,stopper=)]
425 Lower alpha with paren
444Should not be a list item:
452\subject{Definition Lists}
496Multiple blocks with italics:
498\startdescr{{\em apple}}
501contains seeds, crisp, pleasant to taste
504\startdescr{{\em orange}}
516Multiple definitions, tight:
530Multiple definitions, loose:
544Blank line after term, indented marker, alternate markers:
555\startitemize[n][stopper=.]
565Simple block on one line:
568And nested without indentation:
572Interpreted markdown in a table:
574This is {\em emphasized}
575And this is {\bf strong}
576Here's a simple block:
579This should be a code block, though:
596This should just be an HTML comment:
606Just plain comment, with trailing spaces on the line:
618\subject{Inline Markup}
620This is {\em emphasized}, and so {\em is this}.
622This is {\bf strong}, and so {\bf is this}.
624An {\em \useURL[2][/url][][emphasized link]\from[2]}.
626{\bf {\em This is strong and em.}}
628So is {\bf {\em this}} word.
630{\bf {\em This is strong and em.}}
632So is {\bf {\em this}} word.
634This is code: \type{>}, \type{$}, \type{\}, \type{\$},
637\overstrikes{This is {\em strikeout}.}
639Superscripts: a\high{bc}d a\high{{\em hello}} a\high{hello~there}.
641Subscripts: H\low{2}O, H\low{23}O, H\low{many~of~them}O.
643These should not be superscripts or subscripts, because of the
644unescaped spaces: a\letterhat{}b c\letterhat{}d, a\lettertilde{}b
649\subject{Smart quotes, ellipses, dashes}
651\quotation{Hello,} said the spider.
652\quotation{\quote{Shelob} is my name.}
654\quote{A}, \quote{B}, and \quote{C} are letters.
656\quote{Oak,} \quote{elm,} and \quote{beech} are names of trees. So
659\quote{He said, \quotation{I want to go.}} Were you alive in the
662Here is some quoted \quote{\type{code}} and a
663\quotation{\useURL[3][http://example.com/?foo=1&bar=2][][quoted link]\from[3]}.
665Some dashes: one---two --- three---four --- five.
667Dashes between numbers: 5--7, 255--66, 1987--1999.
669Ellipses\ldots{}and\ldots{}and\ldots{}.
677 \cite[22-23]{smith.1899}
683 $\alpha \wedge \omega$
689 Here's some display math:
690 \startformula \frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h} \stopformula
692 Here's one that has a line break in it:
693 $\alpha + \omega \times x^2$.
696These shouldn't be math:
700 To get the famous equation, write \type{$e = mc^2$}.
702 \$22,000 is a {\em lot} of money. So is \$34,000. (It worked if
703 \quotation{lot} is emphasized.)
705 Shoes (\$20) and socks (\$5).
707 Escaped \type{$}: \$73 {\em this should be emphasized} 23\$.
712\begin{tabular}{|l|l|}\hline
713Animal & Number \\ \hline
720\subject{Special Characters}
737AT\&T has an ampersand in their name.
739AT\&T is another way to write it.
747Backslash: \letterbackslash{}
753Underscore: \letterunderscore{}
755Left brace: \letteropenbrace{}
757Right brace: \letterclosebrace{}
767Greater-than: \lettermore{}
785Just a \useURL[4][/url/][][URL]\from[4].
787\useURL[5][/url/][][URL and title]\from[5].
789\useURL[6][/url/][][URL and title]\from[6].
791\useURL[7][/url/][][URL and title]\from[7].
793\useURL[8][/url/][][URL and title]\from[8]
795\useURL[9][/url/][][URL and title]\from[9]
797\useURL[10][/url/with_underscore][][with\letterunderscore{}underscore]\from[10]
799\useURL[11][mailto:nobody@nowhere.net][][Email link]\from[11]
801\useURL[12][][][Empty]\from[12].
803\subsubject{Reference}
805Foo \useURL[13][/url/][][bar]\from[13].
807Foo \useURL[14][/url/][][bar]\from[14].
809Foo \useURL[15][/url/][][bar]\from[15].
811With \useURL[16][/url/][][embedded [brackets]]\from[16].
813\useURL[17][/url/][][b]\from[17] by itself should be a link.
815Indented \useURL[18][/url][][once]\from[18].
817Indented \useURL[19][/url][][twice]\from[19].
819Indented \useURL[20][/url][][thrice]\from[20].
821This should [not][] be a link.
827Foo \useURL[21][/url/][][bar]\from[21].
829Foo \useURL[22][/url/][][biz]\from[22].
831\subsubject{With ampersands}
834\useURL[23][http://example.com/?foo=1&bar=2][][link with an ampersand in the URL]\from[23].
836Here's a link with an amersand in the link text:
837\useURL[24][http://att.com/][][AT\&T]\from[24].
839Here's an \useURL[25][/script?foo=1&bar=2][][inline link]\from[25].
842\useURL[26][/script?foo=1&bar=2][][inline link in pointy braces]\from[26].
844\subsubject{Autolinks}
847\useURL[27][http://example.com/?foo=1&bar=2][][http://example.com/?foo=1\&bar=2]\from[27]
853 \useURL[28][http://example.com/][][http://example.com/]\from[28]
859\useURL[29][mailto:nobody@nowhere.net][][nobody@nowhere.net]\from[29]
863\useURL[30][http://example.com/][][http://example.com/]\from[30]
866Auto-links should not occur here: \type{<http://example.com/>}
869or here: <http://example.com/>
876From \quotation{Voyage dans la Lune} by Georges Melies (1902):
882{\externalfigure[lalune.jpg]}
889{\externalfigure[movie.jpg]} icon.
895Here is a footnote reference,
896\footnote{Here is the footnote. It can go anywhere after the footnote
897reference. It need not be placed at the end of the document.}
899\footnote{Here's the long note. This one contains multiple blocks.
901Subsequent blocks are indented to show that they belong to the
902footnote (as with list items).
908If you want, you can indent every line, but you can also be lazy
909and just indent the first line of each block.}
910This should {\em not} be a footnote reference, because it contains
911a space.[\letterhat{}my note] Here is an inline note.
912\footnote{This is {\em easier} to type. Inline notes may contain
913\useURL[31][http://google.com][][links]\from[31] and \type{]}
914verbatim characters, as well as [bracketed text].}
917Notes can go in quotes.
921\startitemize[n][stopper=.]
927This 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