2\usepackage[mathletters]{ucs}
3\usepackage[utf8x]{inputenc}
4\setlength{\parindent}{0pt}
5\setlength{\parskip}{6pt plus 2pt minus 1pt}
7\newcommand{\textsubscript}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}}
8\usepackage[breaklinks=true,unicode=true]{hyperref}
9\usepackage[normalem]{ulem}
10% avoid problems with \sout in headers with hyperref:
11\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
17\setcounter{secnumdepth}{0}
18\VerbatimFootnotes % allows verbatim text in footnotes
19\title{Pandoc Test Suite}
20\author{John MacFarlane\\Anonymous}
25This is a set of tests for pandoc. Most of them are adapted from
26John Gruber's markdown test suite.
28\begin{center}\rule{3in}{0.4pt}\end{center}
32\subsection{Level 2 with an \href{/url}{embedded link}}
34\subsubsection{Level 3 with \emph{emphasis}}
40\section[alt title ignored]{Level 1}
42\subsection{Level 2 with \emph{emphasis}}
44\subsubsection{Level 3}
52\begin{center}\rule{3in}{0.4pt}\end{center}
56Here's a regular paragraph.
58In Markdown 1.0.0 and earlier. Version 8. This line turns into a
59list item. Because a hard-wrapped line in the middle of a paragraph
60looked like a list item.
62Here's one with a bullet. * criminey.
64There should be a hard line break\\here.
66\begin{center}\rule{3in}{0.4pt}\end{center}
73This is a block quote. It is pretty short.
103This should not be a block quote: 2 \textgreater{} 1.
134And a following paragraph.
136\begin{center}\rule{3in}{0.4pt}\end{center}
143---- (should be four hyphens)
149this code block is indented by one tab
154 this code block is indented by two tabs
156These should not be escaped: \$ \\ \> \[ \{
158\begin{center}\rule{3in}{0.4pt}\end{center}
162\subsection{Unordered}
287 Item 1. graf two. The quick brown fox jumped over the lazy dog's
329Same thing but with paragraphs:
350\subsection{Tabs and spaces}
354 this is a list item indented with tabs
357 this is a list item indented with spaces
361 this is an example list item indented with tabs
364 this is an example list item indented with spaces
368\subsection{Fancy list markers}
370\begin{enumerate}[(1)]
379 \begin{enumerate}[i.]
380 \setcounter{enumii}{3}
382 sublist with roman numerals, starting with 4
385 \begin{enumerate}[(A)]
398 \begin{enumerate}[I.]
401 \begin{enumerate}[(1)]
402 \setcounter{enumiii}{5}
405 \begin{enumerate}[a)]
406 \setcounter{enumiv}{2}
408 Lower alpha with paren
425Should not be a list item:
431\begin{center}\rule{3in}{0.4pt}\end{center}
433\section{Definition Lists}
468Multiple blocks with italics:
474contains seeds, crisp, pleasant to taste
489Simple block on one line:
492And nested without indentation:
496Interpreted markdown in a table:
498This is \emph{emphasized}
499And this is \textbf{strong}
500Here's a simple block:
503This should be a code block, though:
518This should just be an HTML comment:
527Just plain comment, with trailing spaces on the line:
536\begin{center}\rule{3in}{0.4pt}\end{center}
538\section{Inline Markup}
540This is \emph{emphasized}, and so \emph{is this}.
542This is \textbf{strong}, and so \textbf{is this}.
544An \emph{\href{/url}{emphasized link}}.
546\textbf{\emph{This is strong and em.}}
548So is \textbf{\emph{this}} word.
550\textbf{\emph{This is strong and em.}}
552So is \textbf{\emph{this}} word.
554This is code: \verb!>!, \verb!$!, \verb!\!, \verb!\$!,
557\sout{This is \emph{strikeout}.}
559Superscripts: a\textsuperscript{bc}d
560a\textsuperscript{\emph{hello}} a\textsuperscript{hello there}.
562Subscripts: H\textsubscript{2}O, H\textsubscript{23}O,
563H\textsubscript{many of them}O.
565These should not be superscripts or subscripts, because of the
566unescaped spaces: a\^{}b c\^{}d, a\ensuremath{\sim}b
569\begin{center}\rule{3in}{0.4pt}\end{center}
571\section{Smart quotes, ellipses, dashes}
573``Hello,'' said the spider. ``\,`Shelob' is my name.''
575`A', `B', and `C' are letters.
577`Oak,' `elm,' and `beech' are names of trees. So is `pine.'
579`He said, ``I want to go.''\,' Were you alive in the 70's?
581Here is some quoted `\verb!code!' and a
582``\href{http://example.com/?foo=1&bar=2}{quoted link}''.
584Some dashes: one---two---three---four---five.
586Dashes between numbers: 5--7, 255--66, 1987--1999.
588Ellipses\ldots{}and\ldots{}and\ldots{}.
590\begin{center}\rule{3in}{0.4pt}\end{center}
596 \cite[22-23]{smith.1899}
604 $\alpha \wedge \omega$
610 $\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$
612 Here's one that has a line break in it:
613 $\alpha + \omega \times x^2$.
615These shouldn't be math:
619 To get the famous equation, write \verb!$e = mc^2$!.
621 \$22,000 is a \emph{lot} of money. So is \$34,000. (It worked if
622 ``lot'' is emphasized.)
624 Escaped \verb!$!: \$73 \emph{this should be emphasized} 23\$.
628\begin{tabular}{|l|l|}\hline
629Animal & Number \\ \hline
634\begin{center}\rule{3in}{0.4pt}\end{center}
636\section{Special Characters}
652AT\&T has an ampersand in their name.
654AT\&T is another way to write it.
662Backslash: \textbackslash{}
682Greater-than: \textgreater{}
694\begin{center}\rule{3in}{0.4pt}\end{center}
700Just a \href{/url/}{URL}.
702\href{/url/}{URL and title}.
704\href{/url/}{URL and title}.
706\href{/url/}{URL and title}.
708\href{/url/}{URL and title}
710\href{/url/}{URL and title}
712\href{/url/with_underscore}{with\_underscore}
714\href{mailto:nobody@nowhere.net}{Email link}
718\subsection{Reference}
720Foo \href{/url/}{bar}.
722Foo \href{/url/}{bar}.
724Foo \href{/url/}{bar}.
726With \href{/url/}{embedded [brackets]}.
728\href{/url/}{b} by itself should be a link.
730Indented \href{/url}{once}.
732Indented \href{/url}{twice}.
734Indented \href{/url}{thrice}.
736This should [not][] be a link.
741Foo \href{/url/}{bar}.
743Foo \href{/url/}{biz}.
745\subsection{With ampersands}
748\href{http://example.com/?foo=1&bar=2}{link with an ampersand in the URL}.
750Here's a link with an amersand in the link text:
751\href{http://att.com/}{AT\&T}.
753Here's an \href{/script?foo=1&bar=2}{inline link}.
756\href{/script?foo=1&bar=2}{inline link in pointy braces}.
758\subsection{Autolinks}
760With an ampersand: \url{http://example.com/?foo=1&bar=2}
766 \url{http://example.com/}
771\href{mailto:nobody@nowhere.net}{\texttt{nobody@nowhere.net}}
774Blockquoted: \url{http://example.com/}
777Auto-links should not occur here: \verb!<http://example.com/>!
780or here: <http://example.com/>
782\begin{center}\rule{3in}{0.4pt}\end{center}
786From ``Voyage dans la Lune'' by Georges Melies (1902):
788\includegraphics{lalune.jpg}
790Here is a movie \includegraphics{movie.jpg} icon.
792\begin{center}\rule{3in}{0.4pt}\end{center}
797reference,\footnote{ Here is the footnote. It can go anywhere after the footnote
798reference. It need not be placed at the end of the document.
801another.\footnote{ Here's the long note. This one contains multiple blocks.
803Subsequent blocks are indented to show that they belong to the
804footnote (as with list items).
809If you want, you can indent every line, but you can also be lazy
810and just indent the first line of each block.
812This should \emph{not} be a footnote reference, because it contains
813a space.[\^{}my note] Here is an inline
814note.\footnote{ This is \emph{easier} to type. Inline notes may contain
815\href{http://google.com}{links} and \verb!]! verbatim characters,
816as well as [bracketed text].
820Notes can go in quotes.\footnote{ In quote.
826 And in list items.\footnote{ In list.
829This 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