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}
15\setcounter{secnumdepth}{0}
16\VerbatimFootnotes % allows verbatim text in footnotes
17\title{Pandoc Test Suite}
18\author{John MacFarlane\\Anonymous}
23This is a set of tests for pandoc. Most of them are adapted from
24John Gruber's markdown test suite.
26\begin{center}\rule{3in}{0.4pt}\end{center}
30\subsection{Level 2 with an \href{/url}{embedded link}}
32\subsubsection{Level 3 with \emph{emphasis}}
38\section[alt title ignored]{Level 1}
40\subsection{Level 2 with \emph{emphasis}}
42\subsubsection{Level 3}
50\begin{center}\rule{3in}{0.4pt}\end{center}
54Here's a regular paragraph.
56In Markdown 1.0.0 and earlier. Version 8. This line turns into a
57list item. Because a hard-wrapped line in the middle of a paragraph
58looked like a list item.
60Here's one with a bullet. * criminey.
62There should be a hard line break\\here.
64\begin{center}\rule{3in}{0.4pt}\end{center}
71This is a block quote. It is pretty short.
101This should not be a block quote: 2 \textgreater{} 1.
132And a following paragraph.
134\begin{center}\rule{3in}{0.4pt}\end{center}
141---- (should be four hyphens)
147this code block is indented by one tab
152 this code block is indented by two tabs
154These should not be escaped: \$ \\ \> \[ \{
156\begin{center}\rule{3in}{0.4pt}\end{center}
160\subsection{Unordered}
285 Item 1. graf two. The quick brown fox jumped over the lazy dog's
327Same thing but with paragraphs:
348\subsection{Tabs and spaces}
352 this is a list item indented with tabs
355 this is a list item indented with spaces
359 this is an example list item indented with tabs
362 this is an example list item indented with spaces
366\subsection{Fancy list markers}
368\begin{enumerate}[(1)]
377 \begin{enumerate}[i.]
378 \setcounter{enumii}{3}
380 sublist with roman numerals, starting with 4
383 \begin{enumerate}[(A)]
396 \begin{enumerate}[I.]
399 \begin{enumerate}[(1)]
400 \setcounter{enumiii}{5}
403 \begin{enumerate}[a)]
404 \setcounter{enumiv}{2}
406 Lower alpha with paren
423Should not be a list item:
429\begin{center}\rule{3in}{0.4pt}\end{center}
431\section{Definition Lists}
466Multiple blocks with italics:
472contains seeds, crisp, pleasant to taste
487Simple block on one line:
490And nested without indentation:
494Interpreted markdown in a table:
496This is \emph{emphasized}
497And this is \textbf{strong}
498Here's a simple block:
501This should be a code block, though:
516This should just be an HTML comment:
525Just plain comment, with trailing spaces on the line:
534\begin{center}\rule{3in}{0.4pt}\end{center}
536\section{Inline Markup}
538This is \emph{emphasized}, and so \emph{is this}.
540This is \textbf{strong}, and so \textbf{is this}.
542An \emph{\href{/url}{emphasized link}}.
544\textbf{\emph{This is strong and em.}}
546So is \textbf{\emph{this}} word.
548\textbf{\emph{This is strong and em.}}
550So is \textbf{\emph{this}} word.
552This is code: \verb!>!, \verb!$!, \verb!\!, \verb!\$!,
555\sout{This is \emph{strikeout}.}
557Superscripts: a\textsuperscript{bc}d
558a\textsuperscript{\emph{hello}} a\textsuperscript{hello there}.
560Subscripts: H\textsubscript{2}O, H\textsubscript{23}O,
561H\textsubscript{many of them}O.
563These should not be superscripts or subscripts, because of the
564unescaped spaces: a\^{}b c\^{}d, a\ensuremath{\sim}b
567\begin{center}\rule{3in}{0.4pt}\end{center}
569\section{Smart quotes, ellipses, dashes}
571``Hello,'' said the spider. ``\,`Shelob' is my name.''
573`A', `B', and `C' are letters.
575`Oak,' `elm,' and `beech' are names of trees. So is `pine.'
577`He said, ``I want to go.''\,' Were you alive in the 70's?
579Here is some quoted `\verb!code!' and a
580``\href{http://example.com/?foo=1&bar=2}{quoted link}''.
582Some dashes: one---two---three---four---five.
584Dashes between numbers: 5--7, 255--66, 1987--1999.
586Ellipses\ldots{}and\ldots{}and\ldots{}.
588\begin{center}\rule{3in}{0.4pt}\end{center}
594 \cite[22-23]{smith.1899}
602 $\alpha \wedge \omega$
608 $\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$
610 Here's one that has a line break in it:
611 $\alpha + \omega \times x^2$.
613These shouldn't be math:
617 To get the famous equation, write \verb!$e = mc^2$!.
619 \$22,000 is a \emph{lot} of money. So is \$34,000. (It worked if
620 ``lot'' is emphasized.)
622 Escaped \verb!$!: \$73 \emph{this should be emphasized} 23\$.
626\begin{tabular}{|l|l|}\hline
627Animal & Number \\ \hline
632\begin{center}\rule{3in}{0.4pt}\end{center}
634\section{Special Characters}
650AT\&T has an ampersand in their name.
652AT\&T is another way to write it.
660Backslash: \textbackslash{}
680Greater-than: \textgreater{}
692\begin{center}\rule{3in}{0.4pt}\end{center}
698Just a \href{/url/}{URL}.
700\href{/url/}{URL and title}.
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/with_underscore}{with\_underscore}
712\href{mailto:nobody@nowhere.net}{Email link}
716\subsection{Reference}
718Foo \href{/url/}{bar}.
720Foo \href{/url/}{bar}.
722Foo \href{/url/}{bar}.
724With \href{/url/}{embedded [brackets]}.
726\href{/url/}{b} by itself should be a link.
728Indented \href{/url}{once}.
730Indented \href{/url}{twice}.
732Indented \href{/url}{thrice}.
734This should [not][] be a link.
739Foo \href{/url/}{bar}.
741Foo \href{/url/}{biz}.
743\subsection{With ampersands}
746\href{http://example.com/?foo=1&bar=2}{link with an ampersand in the URL}.
748Here's a link with an amersand in the link text:
749\href{http://att.com/}{AT\&T}.
751Here's an \href{/script?foo=1&bar=2}{inline link}.
754\href{/script?foo=1&bar=2}{inline link in pointy braces}.
756\subsection{Autolinks}
758With an ampersand: \url{http://example.com/?foo=1&bar=2}
764 \url{http://example.com/}
769\href{mailto:nobody@nowhere.net}{\texttt{nobody@nowhere.net}}
772Blockquoted: \url{http://example.com/}
775Auto-links should not occur here: \verb!<http://example.com/>!
778or here: <http://example.com/>
780\begin{center}\rule{3in}{0.4pt}\end{center}
784From ``Voyage dans la Lune'' by Georges Melies (1902):
786\includegraphics{lalune.jpg}
788Here is a movie \includegraphics{movie.jpg} icon.
790\begin{center}\rule{3in}{0.4pt}\end{center}
795reference,\footnote{ Here is the footnote. It can go anywhere after the footnote
796reference. It need not be placed at the end of the document.
799another.\footnote{ Here's the long note. This one contains multiple blocks.
801Subsequent blocks are indented to show that they belong to the
802footnote (as with list items).
807If you want, you can indent every line, but you can also be lazy
808and just indent the first line of each block.
810This should \emph{not} be a footnote reference, because it contains
811a space.[\^{}my note] Here is an inline
812note.\footnote{ This is \emph{easier} to type. Inline notes may contain
813\href{http://google.com}{links} and \verb!]! verbatim characters,
814as well as [bracketed text].
818Notes can go in quotes.\footnote{ In quote.
824 And in list items.\footnote{ In list.
827This 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