4@macro textstrikeout{text}
8@macro textsubscript{text}
17@macro textsuperscript{text}
19@textsuperscript{\text\}
30@title Pandoc Test Suite
31@author John MacFarlane
39This is a set of tests for pandoc. Most of them are adapted from John Gruber's markdown test suite.
45------------------------------------------------------------------------
57* Smart quotes ellipses dashes::
69* Level 2 with an embedded link::
72@node Level 2 with an embedded link
73@section Level 2 with an @uref{/url,embedded link}
74@anchor{#level-2-with-an-embedded-link}
76* Level 3 with emphasis::
79@node Level 3 with emphasis
80@subsection Level 3 with @emph{emphasis}
81@anchor{#level-3-with-emphasis}
95* Level 2 with emphasis::
99@node Level 2 with emphasis
100@section Level 2 with @emph{emphasis}
101@anchor{#level-2-with-emphasis}
117@bigskip@hrule@bigskip
120------------------------------------------------------------------------
126Here's a regular paragraph.
128In 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.
130Here's one with a bullet. * criminey.
132There should be a hard line break@*here.
135@bigskip@hrule@bigskip
138------------------------------------------------------------------------
143@anchor{#block-quotes}
147This is a block quote. It is pretty short.
150Code in a block quote:
176This should not be a block quote: 2 > 1.
178And a following paragraph.
181@bigskip@hrule@bigskip
184------------------------------------------------------------------------
193---- (should be four hyphens)
199this code block is indented by one tab
205 this code block is indented by two tabs
207These should not be escaped: \$ \\ \> \[ \{
211@bigskip@hrule@bigskip
214------------------------------------------------------------------------
225* Fancy list markers::
365Item 1. graf two. The quick brown fox jumped over the lazy dog's back.
413Same thing but with paragraphs:
437@section Tabs and spaces
438@anchor{#tabs-and-spaces}
441this is a list item indented with tabs
444this is a list item indented with spaces
448this is an example list item indented with tabs
451this is an example list item indented with spaces
457@node Fancy list markers
458@section Fancy list markers
459@anchor{#fancy-list-markers}
470sublist with roman numerals, starting with 4
497Lower alpha with paren
520Should not be a list item:
527@bigskip@hrule@bigskip
530------------------------------------------------------------------------
533@node Definition Lists
534@chapter Definition Lists
535@anchor{#definition-lists}
581Multiple blocks with italics:
588contains seeds, crisp, pleasant to taste
603Multiple definitions, tight:
616Multiple definitions, loose:
633Blank line after term, indented marker, alternate markers:
658Simple block on one line:
661And nested without indentation:
665Interpreted markdown in a table:
667This is @emph{emphasized}
668And this is @strong{strong}
669Here's a simple block:
672This should be a code block, though:
689This should just be an HTML comment:
699Just plain comment, with trailing spaces on the line:
710@bigskip@hrule@bigskip
713------------------------------------------------------------------------
717@chapter Inline Markup
718@anchor{#inline-markup}
719This is @emph{emphasized}, and so @emph{is this}.
721This is @strong{strong}, and so @strong{is this}.
723An @emph{@uref{/url,emphasized link}}.
725@strong{@emph{This is strong and em.}}
727So is @strong{@emph{this}} word.
729@strong{@emph{This is strong and em.}}
731So is @strong{@emph{this}} word.
733This is code: @code{>}, @code{$}, @code{\}, @code{\$}, @code{<html>}.
735@textstrikeout{This is @emph{strikeout}.}
737Superscripts: a@textsuperscript{bc}d a@textsuperscript{@emph{hello}} a@textsuperscript{hello@ there}.
739Subscripts: H@textsubscript{2}O, H@textsubscript{23}O, H@textsubscript{many@ of@ them}O.
741These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.
744@bigskip@hrule@bigskip
747------------------------------------------------------------------------
750@node Smart quotes ellipses dashes
751@chapter Smart quotes, ellipses, dashes
752@anchor{#smart-quotes-ellipses-dashes}
753``Hello,'' said the spider. ```Shelob' is my name.''
755`A', `B', and `C' are letters.
757`Oak,' `elm,' and `beech' are names of trees. So is `pine.'
759`He said, ``I want to go.''' Were you alive in the 70's?
761Here is some quoted `@code{code}' and a ``@uref{http://example.com/?foo=1&bar=2,quoted link}''.
763Some dashes: one---two --- three---four --- five.
765Dashes between numbers: 5--7, 255--66, 1987--1999.
767Ellipses@dots{}and@dots{}and@dots{}.
770@bigskip@hrule@bigskip
773------------------------------------------------------------------------
782\cite[22-23]{smith.1899}
789@math{\alpha \wedge \omega}
795Here's some display math: @math{\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}}
797Here's one that has a line break in it: @math{\alpha + \omega \times x^2}.
800These shouldn't be math:
804To get the famous equation, write @code{$e = mc^2$}.
806$22,000 is a @emph{lot} of money. So is $34,000. (It worked if ``lot'' is emphasized.)
808Shoes ($20) and socks ($5).
810Escaped @code{$}: $73 @emph{this should be emphasized} 23$.
816\begin{tabular}{|l|l|}\hline
817Animal & Number \\ \hline
823@bigskip@hrule@bigskip
826------------------------------------------------------------------------
829@node Special Characters
830@chapter Special Characters
831@anchor{#special-characters}
847AT&T has an ampersand in their name.
849AT&T is another way to write it.
890@bigskip@hrule@bigskip
893------------------------------------------------------------------------
909Just a @uref{/url/,URL}.
911@uref{/url/,URL and title}.
913@uref{/url/,URL and title}.
915@uref{/url/,URL and title}.
917@uref{/url/,URL and title}
919@uref{/url/,URL and title}
921@uref{/url/with_underscore,with_underscore}
923@uref{mailto:nobody@@nowhere.net,Email link}
936With @uref{/url/,embedded [brackets]}.
938@uref{/url/,b} by itself should be a link.
940Indented @uref{/url,once}.
942Indented @uref{/url,twice}.
944Indented @uref{/url,thrice}.
946This should [not][] be a link.
957@section With ampersands
958@anchor{#with-ampersands}
959Here's a @uref{http://example.com/?foo=1&bar=2,link with an ampersand in the URL}.
961Here's a link with an amersand in the link text: @uref{http://att.com/,AT&T}.
963Here's an @uref{/script?foo=1&bar=2,inline link}.
965Here's an @uref{/script?foo=1&bar=2,inline link in pointy braces}.
970With an ampersand: @url{http://example.com/?foo=1&bar=2}
976@url{http://example.com/}
981An e-mail address: @uref{mailto:nobody@@nowhere.net,nobody@@nowhere.net}
984Blockquoted: @url{http://example.com/}
986Auto-links should not occur here: @code{<http://example.com/>}
989or here: <http://example.com/>
993@bigskip@hrule@bigskip
996------------------------------------------------------------------------
1002From ``Voyage dans la Lune'' by Georges Melies (1902):
1005@image{lalune,,,lalune,jpg}
1009Here is a movie @image{movie,,,movie,jpg} icon.
1012@bigskip@hrule@bigskip
1015------------------------------------------------------------------------
1021Here is a footnote reference,@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.
1023Subsequent blocks are indented to show that they belong to the footnote (as with list items).
1029If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.} This should @emph{not} be a footnote reference, 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, as well as [bracketed text].}
1032Notes can go in quotes.@footnote{In quote.}
1036And in list items.@footnote{In list.}
1039This paragraph should not be part of the note, 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