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
46------------------------------------------------------------------------
58* Smart quotes ellipses dashes::
70* Level 2 with an embedded link::
73@node Level 2 with an embedded link
74@section Level 2 with an @uref{/url,embedded link}
75@anchor{#level-2-with-an-embedded-link}
77* Level 3 with emphasis::
80@node Level 3 with emphasis
81@subsection Level 3 with @emph{emphasis}
82@anchor{#level-3-with-emphasis}
96* Level 2 with emphasis::
100@node Level 2 with emphasis
101@section Level 2 with @emph{emphasis}
102@anchor{#level-2-with-emphasis}
118@bigskip@hrule@bigskip
121------------------------------------------------------------------------
127Here's a regular paragraph.
129In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
130Because a hard-wrapped line in the middle of a paragraph looked like a list
133Here's one with a bullet. * criminey.
135There should be a hard line break@*
139@bigskip@hrule@bigskip
142------------------------------------------------------------------------
147@anchor{#block-quotes}
151This is a block quote. It is pretty short.
154Code in a block quote:
180This should not be a block quote: 2 > 1.
182And a following paragraph.
185@bigskip@hrule@bigskip
188------------------------------------------------------------------------
197---- (should be four hyphens)
203this code block is indented by one tab
209 this code block is indented by two tabs
211These should not be escaped: \$ \\ \> \[ \{
215@bigskip@hrule@bigskip
218------------------------------------------------------------------------
229* Fancy list markers::
369Item 1. graf two. The quick brown fox jumped over the lazy dog's back.
417Same thing but with paragraphs:
441@section Tabs and spaces
442@anchor{#tabs-and-spaces}
445this is a list item indented with tabs
448this is a list item indented with spaces
452this is an example list item indented with tabs
455this is an example list item indented with spaces
461@node Fancy list markers
462@section Fancy list markers
463@anchor{#fancy-list-markers}
474sublist with roman numerals, starting with 4
501Lower alpha with paren
524Should not be a list item:
531@bigskip@hrule@bigskip
534------------------------------------------------------------------------
537@node Definition Lists
538@chapter Definition Lists
539@anchor{#definition-lists}
585Multiple blocks with italics:
592contains seeds, crisp, pleasant to taste
607Multiple definitions, tight:
620Multiple definitions, loose:
637Blank line after term, indented marker, alternate markers:
662Simple block on one line:
665And nested without indentation:
669Interpreted markdown in a table:
671This is @emph{emphasized}
672And this is @strong{strong}
673Here's a simple block:
676This should be a code block, though:
693This should just be an HTML comment:
703Just plain comment, with trailing spaces on the line:
714@bigskip@hrule@bigskip
717------------------------------------------------------------------------
721@chapter Inline Markup
722@anchor{#inline-markup}
723This is @emph{emphasized}, and so @emph{is this}.
725This is @strong{strong}, and so @strong{is this}.
727An @emph{@uref{/url,emphasized link}}.
729@strong{@emph{This is strong and em.}}
731So is @strong{@emph{this}} word.
733@strong{@emph{This is strong and em.}}
735So is @strong{@emph{this}} word.
737This is code: @code{>}, @code{$}, @code{\}, @code{\$}, @code{<html>}.
739@textstrikeout{This is @emph{strikeout}.}
741Superscripts: a@textsuperscript{bc}d a@textsuperscript{@emph{hello}}
742a@textsuperscript{hello@ there}.
744Subscripts: H@textsubscript{2}O, H@textsubscript{23}O,
745H@textsubscript{many@ of@ them}O.
747These should not be superscripts or subscripts, because of the unescaped
748spaces: a^b c^d, a~b c~d.
751@bigskip@hrule@bigskip
754------------------------------------------------------------------------
757@node Smart quotes ellipses dashes
758@chapter Smart quotes, ellipses, dashes
759@anchor{#smart-quotes-ellipses-dashes}
760``Hello,'' said the spider. ```Shelob' is my name.''
762`A', `B', and `C' are letters.
764`Oak,' `elm,' and `beech' are names of trees. So is `pine.'
766`He said, ``I want to go.''' Were you alive in the 70's?
768Here is some quoted `@code{code}' and a
769``@uref{http://example.com/?foo=1&bar=2,quoted link}''.
771Some dashes: one---two --- three---four --- five.
773Dashes between numbers: 5--7, 255--66, 1987--1999.
775Ellipses@dots{}and@dots{}and@dots{}.
778@bigskip@hrule@bigskip
781------------------------------------------------------------------------
790\cite[22-23]{smith.1899}
797@math{\alpha \wedge \omega}
803Here's some display math:
804@math{\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}}
806Here's one that has a line break in it: @math{\alpha + \omega \times x^2}.
809These shouldn't be math:
813To get the famous equation, write @code{$e = mc^2$}.
815$22,000 is a @emph{lot} of money. So is $34,000. (It worked if ``lot'' is
818Shoes ($20) and socks ($5).
820Escaped @code{$}: $73 @emph{this should be emphasized} 23$.
826\begin{tabular}{|l|l|}\hline
827Animal & Number \\ \hline
833@bigskip@hrule@bigskip
836------------------------------------------------------------------------
839@node Special Characters
840@chapter Special Characters
841@anchor{#special-characters}
857AT&T has an ampersand in their name.
859AT&T is another way to write it.
900@bigskip@hrule@bigskip
903------------------------------------------------------------------------
919Just a @uref{/url/,URL}.
921@uref{/url/,URL and title}.
923@uref{/url/,URL and title}.
925@uref{/url/,URL and title}.
927@uref{/url/,URL and title}
929@uref{/url/,URL and title}
931@uref{/url/with_underscore,with_underscore}
933@uref{mailto:nobody@@nowhere.net,Email link}
946With @uref{/url/,embedded [brackets]}.
948@uref{/url/,b} by itself should be a link.
950Indented @uref{/url,once}.
952Indented @uref{/url,twice}.
954Indented @uref{/url,thrice}.
956This should [not][] be a link.
967@section With ampersands
968@anchor{#with-ampersands}
969Here's a @uref{http://example.com/?foo=1&bar=2,link with an ampersand in the
972Here's a link with an amersand in the link text: @uref{http://att.com/,AT&T}.
974Here's an @uref{/script?foo=1&bar=2,inline link}.
976Here's an @uref{/script?foo=1&bar=2,inline link in pointy braces}.
981With an ampersand: @url{http://example.com/?foo=1&bar=2}
987@url{http://example.com/}
992An e-mail address: @uref{mailto:nobody@@nowhere.net,nobody@@nowhere.net}
995Blockquoted: @url{http://example.com/}
997Auto-links should not occur here: @code{<http://example.com/>}
1000or here: <http://example.com/>
1004@bigskip@hrule@bigskip
1007------------------------------------------------------------------------
1013From ``Voyage dans la Lune'' by Georges Melies (1902):
1016@image{lalune,,,lalune,jpg}
1020Here is a movie @image{movie,,,movie,jpg} icon.
1023@bigskip@hrule@bigskip
1026------------------------------------------------------------------------
1032Here is a footnote reference,@footnote{Here is the footnote. It can go
1033anywhere after the footnote reference. It need not be placed at the end of the
1034document.} and another.@footnote{Here's the long note. This one contains
1037Subsequent blocks are indented to show that they belong to the footnote (as
1044If you want, you can indent every line, but you can also be lazy and just
1045indent the first line of each block.} This should @emph{not} be a footnote
1046reference, because it contains a space.[^my note] Here is an inline
1047note.@footnote{This is @emph{easier} to type. Inline notes may contain
1048@uref{http://google.com,links} and @code{]} verbatim characters, as well as
1052Notes can go in quotes.@footnote{In quote.}
1056And in list items.@footnote{In list.}
1059This 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