3@macro textstrikeout{text}
7@macro textsubscript{text}
16@macro textsuperscript{text}
18@textsuperscript{\text\}
30@title Pandoc Test Suite
31@author John MacFarlane
38This is a set of tests for pandoc. Most of them are adapted from John Gruber's markdown test suite.
44------------------------------------------------------------------------
56* Smart quotes ellipses dashes::
67* Level 2 with an embedded link::
70@node Level 2 with an embedded link
71@section Level 2 with an @uref{/url,embedded link}
73* Level 3 with emphasis::
76@node Level 3 with emphasis
77@subsection Level 3 with @emph{emphasis}
89* Level 2 with emphasis::
93@node Level 2 with emphasis
94@section Level 2 with @emph{emphasis}
109@bigskip@hrule@bigskip
112------------------------------------------------------------------------
117Here's a regular paragraph.
119In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item.
121Here's one with a bullet. * criminey.
123There should be a hard line break@*here.
126@bigskip@hrule@bigskip
129------------------------------------------------------------------------
137This is a block quote. It is pretty short.
141Code in a block quote:
168This should not be a block quote: 2 > 1.
170And a following paragraph.
173@bigskip@hrule@bigskip
176------------------------------------------------------------------------
183---- (should be four hyphens)
189this code block is indented by one tab
194 this code block is indented by two tabs
196These should not be escaped: \$ \\ \> \[ \{
200@bigskip@hrule@bigskip
203------------------------------------------------------------------------
213* Fancy list markers::
350Item 1@comma{} graf one.
352Item 1. graf two. The quick brown fox jumped over the lazy dog's back.
400Same thing but with paragraphs:
425@section Tabs and spaces
428this is a list item indented with tabs
431this is a list item indented with spaces
435this is an example list item indented with tabs
438this is an example list item indented with spaces
445@node Fancy list markers
446@section Fancy list markers
457sublist with roman numerals@comma{} starting with 4
484Lower alpha with paren
507Should not be a list item:
514@bigskip@hrule@bigskip
517------------------------------------------------------------------------
520@node Definition Lists
521@chapter Definition Lists
567Multiple blocks with italics:
574contains seeds@comma{} crisp@comma{} pleasant to taste
592Simple block on one line:
595And nested without indentation:
599Interpreted markdown in a table:
601This is @emph{emphasized}
602And this is @strong{strong}
603Here's a simple block:
606This should be a code block@comma{} though:
621This should just be an HTML comment:
630Just plain comment@comma{} with trailing spaces on the line:
640@bigskip@hrule@bigskip
643------------------------------------------------------------------------
647@chapter Inline Markup
648This is @emph{emphasized}@comma{} and so @emph{is this}.
650This is @strong{strong}@comma{} and so @strong{is this}.
652An @emph{@uref{/url,emphasized link}}.
654@strong{@emph{This is strong and em.}}
656So is @strong{@emph{this}} word.
658@strong{@emph{This is strong and em.}}
660So is @strong{@emph{this}} word.
662This is code: @code{>}@comma{} @code{$}@comma{} @code{\}@comma{} @code{\$}@comma{} @code{<html>}.
664@textstrikeout{This is @emph{strikeout}.}
666Superscripts: a@textsuperscript{bc}d a@textsuperscript{@emph{hello}} a@textsuperscript{hello@ there}.
668Subscripts: H@textsubscript{2}O@comma{} H@textsubscript{23}O@comma{} H@textsubscript{many@ of@ them}O.
670These should not be superscripts or subscripts@comma{} because of the unescaped spaces: a^b c^d@comma{} a~b c~d.
673@bigskip@hrule@bigskip
676------------------------------------------------------------------------
679@node Smart quotes ellipses dashes
680@chapter Smart quotes@comma{} ellipses@comma{} dashes
681``Hello@comma{}'' said the spider. ```Shelob' is my name.''
683`A'@comma{} `B'@comma{} and `C' are letters.
685`Oak@comma{}' `elm@comma{}' and `beech' are names of trees. So is `pine.'
687`He said@comma{} ``I want to go.''' Were you alive in the 70's?
689Here is some quoted `@code{code}' and a ``@uref{http://example.com/?foo=1&bar=2,quoted link}''.
691Some dashes: one---two --- three---four --- five.
693Dashes between numbers: 5--7@comma{} 255--66@comma{} 1987--1999.
695Ellipses@dots{}and@dots{}and@dots{}.
698@bigskip@hrule@bigskip
701------------------------------------------------------------------------
709\cite[22-23]{smith.1899}
716@math{\alpha \wedge \omega}
722Here's some display math: @math{\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}}
724Here's one that has a line break in it: @math{\alpha + \omega \times x^2}.
727These shouldn't be math:
731To get the famous equation@comma{} write @code{$e = mc^2$}.
733$22@comma{}000 is a @emph{lot} of money. So is $34@comma{}000. (It worked if ``lot'' is emphasized.)
735Shoes ($20) and socks ($5).
737Escaped @code{$}: $73 @emph{this should be emphasized} 23$.
743\begin{tabular}{|l|l|}\hline
744Animal & Number \\ \hline
751@bigskip@hrule@bigskip
754------------------------------------------------------------------------
757@node Special Characters
758@chapter Special Characters
774AT&T has an ampersand in their name.
776AT&T is another way to write it.
817@bigskip@hrule@bigskip
820------------------------------------------------------------------------
834Just a @uref{/url/,URL}.
836@uref{/url/,URL and title}.
838@uref{/url/,URL and title}.
840@uref{/url/,URL and title}.
842@uref{/url/,URL and title}
844@uref{/url/,URL and title}
846@uref{/url/with_underscore,with_underscore}
848@uref{mailto:nobody@@nowhere.net,Email link}
861With @uref{/url/,embedded [brackets]}.
863@uref{/url/,b} by itself should be a link.
865Indented @uref{/url,once}.
867Indented @uref{/url,twice}.
869Indented @uref{/url,thrice}.
871This should [not][] be a link.
882@section With ampersands
883Here's a @uref{http://example.com/?foo=1&bar=2,link with an ampersand in the URL}.
885Here's a link with an amersand in the link text: @uref{http://att.com/,AT&T}.
887Here's an @uref{/script?foo=1&bar=2,inline link}.
889Here's an @uref{/script?foo=1&bar=2,inline link in pointy braces}.
894With an ampersand: @url{http://example.com/?foo=1&bar=2}
900@url{http://example.com/}
905An e-mail address: @uref{mailto:nobody@@nowhere.net,@code{nobody@@nowhere.net}}
908Blockquoted: @url{http://example.com/}
911Auto-links should not occur here: @code{<http://example.com/>}
913or here: <http://example.com/>
917@bigskip@hrule@bigskip
920------------------------------------------------------------------------
925From ``Voyage dans la Lune'' by Georges Melies (1902):
927@image{lalune,,,lalune,jpg}
929Here is a movie @image{movie,,,movie,jpg} icon.
932@bigskip@hrule@bigskip
935------------------------------------------------------------------------
940Here is a footnote reference@comma{}@footnote{Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.} and another.@footnote{Here's the long note. This one contains multiple blocks.
942Subsequent blocks are indented to show that they belong to the footnote (as with list items).
947If you want@comma{} you can indent every line@comma{} but you can also be lazy and just indent the first line of each block.} This should @emph{not} be a footnote reference@comma{} because it contains a space.[^my note] Here is an inline note.@footnote{This is @emph{easier} to type. Inline notes may contain @uref{http://google.com,links} and @code{]} verbatim characters@comma{} as well as [bracketed text].}
950Notes can go in quotes.@footnote{In quote.}
955And in list items.@footnote{In list.}
958This paragraph should not be part of the note@comma{} as it is not indented.
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