3\usepackage[mathletters]{ucs}
4\usepackage[utf8x]{inputenc}
5\setlength{\parindent}{0pt}
6\setlength{\parskip}{6pt plus 2pt minus 1pt}
8\newcommand{\textsubscr}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}}
9\usepackage[breaklinks=true]{hyperref}
10\usepackage[normalem]{ulem}
16\setcounter{secnumdepth}{0}
17\VerbatimFootnotes % allows verbatim text in footnotes
18\title{Pandoc Test Suite}
19\author{John MacFarlane\\Anonymous}
24This is a set of tests for pandoc. Most of them are adapted from
25John Gruber's markdown test suite.
27\begin{center}\rule{3in}{0.4pt}\end{center}
31\subsection{Level 2 with an \href{/url}{embedded link}}
33\subsubsection{Level 3 with \emph{emphasis}}
41\subsection{Level 2 with \emph{emphasis}}
43\subsubsection{Level 3}
51\begin{center}\rule{3in}{0.4pt}\end{center}
55Here's a regular paragraph.
57In Markdown 1.0.0 and earlier. Version 8. This line turns into a
58list item. Because a hard-wrapped line in the middle of a paragraph
59looked like a list item.
61Here's one with a bullet. * criminey.
63There should be a hard line break\\here.
65\begin{center}\rule{3in}{0.4pt}\end{center}
72This is a block quote. It is pretty short.
102This should not be a block quote: 2 \textgreater{} 1.
104And a following paragraph.
106\begin{center}\rule{3in}{0.4pt}\end{center}
113---- (should be four hyphens)
119this code block is indented by one tab
124 this code block is indented by two tabs
126These should not be escaped: \$ \\ \> \[ \{
128\begin{center}\rule{3in}{0.4pt}\end{center}
132\subsection{Unordered}
257 Item 1. graf two. The quick brown fox jumped over the lazy dog's
299Same thing but with paragraphs:
320\subsection{Tabs and spaces}
324 this is a list item indented with tabs
327 this is a list item indented with spaces
331 this is an example list item indented with tabs
334 this is an example list item indented with spaces
338\subsection{Fancy list markers}
340\begin{enumerate}[(1)]
349 \begin{enumerate}[i.]
350 \setcounter{enumii}{3}
352 sublist with roman numerals, starting with 4
355 \begin{enumerate}[(A)]
368 \begin{enumerate}[I.]
371 \begin{enumerate}[(1)]
372 \setcounter{enumiii}{5}
375 \begin{enumerate}[a)]
376 \setcounter{enumiv}{2}
378 Lower alpha with paren
395Should not be a list item:
401\begin{center}\rule{3in}{0.4pt}\end{center}
403\section{Definition Lists}
438Multiple blocks with italics:
444contains seeds, crisp, pleasant to taste
459Simple block on one line:
462And nested without indentation:
466Interpreted markdown in a table:
468This is \emph{emphasized}
469And this is \textbf{strong}
470Here's a simple block:
473This should be a code block, though:
488This should just be an HTML comment:
497Just plain comment, with trailing spaces on the line:
506\begin{center}\rule{3in}{0.4pt}\end{center}
508\section{Inline Markup}
510This is \emph{emphasized}, and so \emph{is this}.
512This is \textbf{strong}, and so \textbf{is this}.
514An \emph{\href{/url}{emphasized link}}.
516\textbf{\emph{This is strong and em.}}
518So is \textbf{\emph{this}} word.
520\textbf{\emph{This is strong and em.}}
522So is \textbf{\emph{this}} word.
524This is code: \verb!>!, \verb!$!, \verb!\!, \verb!\$!,
527\sout{This is \emph{strikeout}.}
529Superscripts: a\textsuperscript{bc}d
530a\textsuperscript{\emph{hello}} a\textsuperscript{hello~there}.
532Subscripts: H\textsubscr{2}O, H\textsubscr{23}O,
533H\textsubscr{many~of~them}O.
535These should not be superscripts or subscripts, because of the
536unescaped spaces: a\^{}b c\^{}d, a\ensuremath{\sim}b
539\begin{center}\rule{3in}{0.4pt}\end{center}
541\section{Smart quotes, ellipses, dashes}
543``Hello,'' said the spider. ``\,`Shelob' is my name.''
545`A', `B', and `C' are letters.
547`Oak,' `elm,' and `beech' are names of trees. So is `pine.'
549`He said, ``I want to go.''\,' Were you alive in the 70's?
551Here is some quoted `\verb!code!' and a
552``\href{http://example.com/?foo=1&bar=2}{quoted link}''.
554Some dashes: one---two --- three---four --- five.
556Dashes between numbers: 5--7, 255--66, 1987--1999.
558Ellipses\ldots{}and\ldots{}and\ldots{}.
560\begin{center}\rule{3in}{0.4pt}\end{center}
566 \cite[22-23]{smith.1899}
572 $\alpha \wedge \omega$
578 Here's some display math:
579 \[\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\]
581 Here's one that has a line break in it:
582 $\alpha + \omega \times x^2$.
584These shouldn't be math:
588 To get the famous equation, write \verb!$e = mc^2$!.
590 \$22,000 is a \emph{lot} of money. So is \$34,000. (It worked if
591 ``lot'' is emphasized.)
593 Shoes (\$20) and socks (\$5).
595 Escaped \verb!$!: \$73 \emph{this should be emphasized} 23\$.
599\begin{tabular}{|l|l|}\hline
600Animal & Number \\ \hline
605\begin{center}\rule{3in}{0.4pt}\end{center}
607\section{Special Characters}
623AT\&T has an ampersand in their name.
625AT\&T is another way to write it.
633Backslash: \textbackslash{}
653Greater-than: \textgreater{}
665\begin{center}\rule{3in}{0.4pt}\end{center}
671Just a \href{/url/}{URL}.
673\href{/url/}{URL and title}.
675\href{/url/}{URL and title}.
677\href{/url/}{URL and title}.
679\href{/url/}{URL and title}
681\href{/url/}{URL and title}
683\href{/url/with_underscore}{with\_underscore}
685\href{mailto:nobody@nowhere.net}{Email link}
689\subsection{Reference}
691Foo \href{/url/}{bar}.
693Foo \href{/url/}{bar}.
695Foo \href{/url/}{bar}.
697With \href{/url/}{embedded [brackets]}.
699\href{/url/}{b} by itself should be a link.
701Indented \href{/url}{once}.
703Indented \href{/url}{twice}.
705Indented \href{/url}{thrice}.
707This should [not][] be a link.
712Foo \href{/url/}{bar}.
714Foo \href{/url/}{biz}.
716\subsection{With ampersands}
719\href{http://example.com/?foo=1&bar=2}{link with an ampersand in the URL}.
721Here's a link with an amersand in the link text:
722\href{http://att.com/}{AT\&T}.
724Here's an \href{/script?foo=1&bar=2}{inline link}.
727\href{/script?foo=1&bar=2}{inline link in pointy braces}.
729\subsection{Autolinks}
731With an ampersand: \url{http://example.com/?foo=1&bar=2}
737 \url{http://example.com/}
742\href{mailto:nobody@nowhere.net}{\texttt{nobody@nowhere.net}}
745Blockquoted: \url{http://example.com/}
748Auto-links should not occur here: \verb!<http://example.com/>!
751or here: <http://example.com/>
753\begin{center}\rule{3in}{0.4pt}\end{center}
757From ``Voyage dans la Lune'' by Georges Melies (1902):
759\includegraphics{lalune.jpg}
761Here is a movie \includegraphics{movie.jpg} icon.
763\begin{center}\rule{3in}{0.4pt}\end{center}
767Here is a footnote reference,%
768\footnote{Here is the footnote. It can go anywhere after the footnote
769reference. It need not be placed at the end of the document.}
771\footnote{Here's the long note. This one contains multiple blocks.
773Subsequent blocks are indented to show that they belong to the
774footnote (as with list items).
779If you want, you can indent every line, but you can also be lazy
780and just indent the first line of each block.}
781This should \emph{not} be a footnote reference, because it contains
782a space.[\^{}my note] Here is an inline note.%
783\footnote{This is \emph{easier} to type. Inline notes may contain
784\href{http://google.com}{links} and \verb!]! verbatim characters,
785as well as [bracketed text].}
788Notes can go in quotes.%
797This 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