2\usepackage[mathletters]{ucs}
3\usepackage[utf8x]{inputenc}
4\setlength{\parindent}{0pt}
5\setlength{\parskip}{6pt plus 2pt minus 1pt}
7\usepackage[breaklinks=true,unicode=true]{hyperref}
8\usepackage[normalem]{ulem}
9% avoid problems with \sout in headers with hyperref:
10\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
16\setcounter{secnumdepth}{0}
17\VerbatimFootnotes % allows verbatim text in footnotes
18\title{Pandoc Test Suite}
19\author{John MacFarlane \and 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}}
39\section[alt title ignored]{Level 1}
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.
133And a following paragraph.
135\begin{center}\rule{3in}{0.4pt}\end{center}
142---- (should be four hyphens)
148this code block is indented by one tab
153 this code block is indented by two tabs
155These should not be escaped: \$ \\ \> \[ \{
162\begin{center}\rule{3in}{0.4pt}\end{center}
166\subsection{Unordered}
291 Item 1. graf two. The quick brown fox jumped over the lazy dog's
333Same thing but with paragraphs:
354\subsection{Tabs and spaces}
358 this is a list item indented with tabs
361 this is a list item indented with spaces
365 this is an example list item indented with tabs
368 this is an example list item indented with spaces
372\subsection{Fancy list markers}
374\begin{enumerate}[(1)]
383 \begin{enumerate}[i.]
384 \setcounter{enumii}{3}
386 sublist with roman numerals, starting with 4
389 \begin{enumerate}[(A)]
402 \begin{enumerate}[I.]
405 \begin{enumerate}[(1)]
406 \setcounter{enumiii}{5}
409 \begin{enumerate}[a)]
410 \setcounter{enumiv}{2}
412 Lower alpha with paren
429Should not be a list item:
435\begin{center}\rule{3in}{0.4pt}\end{center}
437\section{Definition Lists}
472Multiple blocks with italics:
478contains seeds, crisp, pleasant to taste
493Simple block on one line:
496And nested without indentation:
500Interpreted markdown in a table:
502This is \emph{emphasized}
503And this is \textbf{strong}
504Here's a simple block:
507This should be a code block, though:
522This should just be an HTML comment:
531Just plain comment, with trailing spaces on the line:
540\begin{center}\rule{3in}{0.4pt}\end{center}
542\section{Inline Markup}
544This is \emph{emphasized}, and so \emph{is this}.
546This is \textbf{strong}, and so \textbf{is this}.
548An \emph{\href{/url}{emphasized link}}.
550\textbf{\emph{This is strong and em.}}
552So is \textbf{\emph{this}} word.
554\textbf{\emph{This is strong and em.}}
556So is \textbf{\emph{this}} word.
558This is code: \verb!>!, \verb!$!, \verb!\!, \verb!\$!,
561\sout{This is \emph{strikeout}.}
563Superscripts: a\textsuperscript{bc}d
564a\textsuperscript{\emph{hello}} a\textsuperscript{hello there}.
566Subscripts: H\textsubscript{2}O, H\textsubscript{23}O,
567H\textsubscript{many of them}O.
569These should not be superscripts or subscripts, because of the
570unescaped spaces: a\^{}b c\^{}d, a\ensuremath{\sim}b
573\begin{center}\rule{3in}{0.4pt}\end{center}
575\section{Smart quotes, ellipses, dashes}
577``Hello,'' said the spider. ``\,`Shelob' is my name.''
579`A', `B', and `C' are letters.
581`Oak,' `elm,' and `beech' are names of trees. So is `pine.'
583`He said, ``I want to go.''\,' Were you alive in the 70's?
585Here is some quoted `\verb!code!' and a
586``\href{http://example.com/?foo=1&bar=2}{quoted link}''.
588Some dashes: one---two---three---four---five.
590Dashes between numbers: 5--7, 255--66, 1987--1999.
592Ellipses\ldots{}and\ldots{}and\ldots{}.
594\begin{center}\rule{3in}{0.4pt}\end{center}
600 \cite[22-23]{smith.1899}
608 $\alpha \wedge \omega$
614 $\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$
616 Here's one that has a line break in it:
617 $\alpha + \omega \times x^2$.
619These shouldn't be math:
623 To get the famous equation, write \verb!$e = mc^2$!.
625 \$22,000 is a \emph{lot} of money. So is \$34,000. (It worked if
626 ``lot'' is emphasized.)
628 Escaped \verb!$!: \$73 \emph{this should be emphasized} 23\$.
632\begin{tabular}{|l|l|}\hline
633Animal & Number \\ \hline
638A table with one column:
645\begin{center}\rule{3in}{0.4pt}\end{center}
647\section{Special Characters}
663AT\&T has an ampersand in their name.
665AT\&T is another way to write it.
673Backslash: \textbackslash{}
693Greater-than: \textgreater{}
705\begin{center}\rule{3in}{0.4pt}\end{center}
711Just a \href{/url/}{URL}.
713\href{/url/}{URL and title}.
715\href{/url/}{URL and title}.
717\href{/url/}{URL and title}.
719\href{/url/}{URL and title}
721\href{/url/}{URL and title}
723\href{/url/with_underscore}{with\_underscore}
725\href{mailto:nobody@nowhere.net}{Email link}
729\subsection{Reference}
731Foo \href{/url/}{bar}.
733Foo \href{/url/}{bar}.
735Foo \href{/url/}{bar}.
737With \href{/url/}{embedded [brackets]}.
739\href{/url/}{b} by itself should be a link.
741Indented \href{/url}{once}.
743Indented \href{/url}{twice}.
745Indented \href{/url}{thrice}.
747This should [not][] be a link.
752Foo \href{/url/}{bar}.
754Foo \href{/url/}{biz}.
756\subsection{With ampersands}
759\href{http://example.com/?foo=1&bar=2}{link with an ampersand in the URL}.
761Here's a link with an amersand in the link text:
762\href{http://att.com/}{AT\&T}.
764Here's an \href{/script?foo=1&bar=2}{inline link}.
767\href{/script?foo=1&bar=2}{inline link in pointy braces}.
769\subsection{Autolinks}
771With an ampersand: \url{http://example.com/?foo=1&bar=2}
777 \url{http://example.com/}
782\href{mailto:nobody@nowhere.net}{nobody@nowhere.net}
785Blockquoted: \url{http://example.com/}
788Auto-links should not occur here: \verb!<http://example.com/>!
791or here: <http://example.com/>
793\begin{center}\rule{3in}{0.4pt}\end{center}
797From ``Voyage dans la Lune'' by Georges Melies (1902):
799\includegraphics{lalune.jpg}
801Here is a movie \includegraphics{movie.jpg} icon.
803\begin{center}\rule{3in}{0.4pt}\end{center}
808reference,\footnote{ Here is the footnote. It can go anywhere after the footnote
809reference. It need not be placed at the end of the document.
812another.\footnote{ Here's the long note. This one contains multiple blocks.
814Subsequent blocks are indented to show that they belong to the
815footnote (as with list items).
820If you want, you can indent every line, but you can also be lazy
821and just indent the first line of each block.
823This should \emph{not} be a footnote reference, because it contains
824a space.[\^{}my note] Here is an inline
825note.\footnote{ This is \emph{easier} to type. Inline notes may contain
826\href{http://google.com}{links} and \verb!]! verbatim characters,
827as well as [bracketed text].
831Notes can go in quotes.\footnote{ In quote.
837 And in list items.\footnote{ In list.
840This paragraph should not be part of the note, as it is not
843\section{Escaped characters}
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