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::
68* Level 2 with an embedded link::
71@node Level 2 with an embedded link
72@section Level 2 with an @uref{/url,embedded link}
74* Level 3 with emphasis::
77@node Level 3 with emphasis
78@subsection Level 3 with @emph{emphasis}
90* Level 2 with emphasis::
94@node Level 2 with emphasis
95@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.
140Code in a block quote:
165This should not be a block quote: 2 > 1.
167And a following paragraph.
170@bigskip@hrule@bigskip
173------------------------------------------------------------------------
180---- (should be four hyphens)
186this code block is indented by one tab
191 this code block is indented by two tabs
193These should not be escaped: \$ \\ \> \[ \{
197@bigskip@hrule@bigskip
200------------------------------------------------------------------------
210* Fancy list markers::
346Item 1@comma{} graf one.
348Item 1. graf two. The quick brown fox jumped over the lazy dog's back.
395Same thing but with paragraphs:
419@section Tabs and spaces
422this is a list item indented with tabs
425this is a list item indented with spaces
429this is an example list item indented with tabs
432this is an example list item indented with spaces
438@node Fancy list markers
439@section Fancy list markers
450sublist with roman numerals@comma{} starting with 4
477Lower alpha with paren
500Should not be a list item:
507@bigskip@hrule@bigskip
510------------------------------------------------------------------------
513@node Definition Lists
514@chapter Definition Lists
560Multiple blocks with italics:
567contains seeds@comma{} crisp@comma{} pleasant to taste
581Multiple definitions@comma{} tight:
594Multiple definitions@comma{} loose:
611Blank line after term@comma{} indented marker@comma{} alternate markers:
635Simple block on one line:
638And nested without indentation:
642Interpreted markdown in a table:
644This is @emph{emphasized}
645And this is @strong{strong}
646Here's a simple block:
649This should be a code block@comma{} though:
664This should just be an HTML comment:
673Just plain comment@comma{} with trailing spaces on the line:
683@bigskip@hrule@bigskip
686------------------------------------------------------------------------
690@chapter Inline Markup
691This is @emph{emphasized}@comma{} and so @emph{is this}.
693This is @strong{strong}@comma{} and so @strong{is this}.
695An @emph{@uref{/url,emphasized link}}.
697@strong{@emph{This is strong and em.}}
699So is @strong{@emph{this}} word.
701@strong{@emph{This is strong and em.}}
703So is @strong{@emph{this}} word.
705This is code: @code{>}@comma{} @code{$}@comma{} @code{\}@comma{} @code{\$}@comma{} @code{<html>}.
707@textstrikeout{This is @emph{strikeout}.}
709Superscripts: a@textsuperscript{bc}d a@textsuperscript{@emph{hello}} a@textsuperscript{hello@ there}.
711Subscripts: H@textsubscript{2}O@comma{} H@textsubscript{23}O@comma{} H@textsubscript{many@ of@ them}O.
713These should not be superscripts or subscripts@comma{} because of the unescaped spaces: a^b c^d@comma{} a~b c~d.
716@bigskip@hrule@bigskip
719------------------------------------------------------------------------
722@node Smart quotes ellipses dashes
723@chapter Smart quotes@comma{} ellipses@comma{} dashes
724``Hello@comma{}'' said the spider. ```Shelob' is my name.''
726`A'@comma{} `B'@comma{} and `C' are letters.
728`Oak@comma{}' `elm@comma{}' and `beech' are names of trees. So is `pine.'
730`He said@comma{} ``I want to go.''' Were you alive in the 70's?
732Here is some quoted `@code{code}' and a ``@uref{http://example.com/?foo=1&bar=2,quoted link}''.
734Some dashes: one---two --- three---four --- five.
736Dashes between numbers: 5--7@comma{} 255--66@comma{} 1987--1999.
738Ellipses@dots{}and@dots{}and@dots{}.
741@bigskip@hrule@bigskip
744------------------------------------------------------------------------
752\cite[22-23]{smith.1899}
759@math{\alpha \wedge \omega}
765Here's some display math: @math{\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}}
767Here's one that has a line break in it: @math{\alpha + \omega \times x^2}.
770These shouldn't be math:
774To get the famous equation@comma{} write @code{$e = mc^2$}.
776$22@comma{}000 is a @emph{lot} of money. So is $34@comma{}000. (It worked if ``lot'' is emphasized.)
778Shoes ($20) and socks ($5).
780Escaped @code{$}: $73 @emph{this should be emphasized} 23$.
786\begin{tabular}{|l|l|}\hline
787Animal & Number \\ \hline
793@bigskip@hrule@bigskip
796------------------------------------------------------------------------
799@node Special Characters
800@chapter Special Characters
816AT&T has an ampersand in their name.
818AT&T is another way to write it.
859@bigskip@hrule@bigskip
862------------------------------------------------------------------------
876Just a @uref{/url/,URL}.
878@uref{/url/,URL and title}.
880@uref{/url/,URL and title}.
882@uref{/url/,URL and title}.
884@uref{/url/,URL and title}
886@uref{/url/,URL and title}
888@uref{/url/with_underscore,with_underscore}
890@uref{mailto:nobody@@nowhere.net,Email link}
902With @uref{/url/,embedded [brackets]}.
904@uref{/url/,b} by itself should be a link.
906Indented @uref{/url,once}.
908Indented @uref{/url,twice}.
910Indented @uref{/url,thrice}.
912This should [not][] be a link.
922@section With ampersands
923Here's a @uref{http://example.com/?foo=1&bar=2,link with an ampersand in the URL}.
925Here's a link with an amersand in the link text: @uref{http://att.com/,AT&T}.
927Here's an @uref{/script?foo=1&bar=2,inline link}.
929Here's an @uref{/script?foo=1&bar=2,inline link in pointy braces}.
933With an ampersand: @url{http://example.com/?foo=1&bar=2}
939@url{http://example.com/}
944An e-mail address: @uref{mailto:nobody@@nowhere.net,@code{nobody@@nowhere.net}}
947Blockquoted: @url{http://example.com/}
949Auto-links should not occur here: @code{<http://example.com/>}
951or here: <http://example.com/>
955@bigskip@hrule@bigskip
958------------------------------------------------------------------------
963From ``Voyage dans la Lune'' by Georges Melies (1902):
966@image{lalune,,,lalune,jpg}
970Here is a movie @image{movie,,,movie,jpg} icon.
973@bigskip@hrule@bigskip
976------------------------------------------------------------------------
981Here 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.
983Subsequent blocks are indented to show that they belong to the footnote (as with list items).
988If 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].}
991Notes can go in quotes.@footnote{In quote.}
995And in list items.@footnote{In list.}
998This 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