4@macro textstrikeout{text}
12@title Pandoc Test Suite
13@author John MacFarlane
21This is a set of tests for pandoc. Most of them are adapted from John Gruber's
28------------------------------------------------------------------------
41* Smart quotes ellipses dashes::
54* Level 2 with an embedded link::
57@node Level 2 with an embedded link
58@section Level 2 with an @uref{/url,embedded link}
59@anchor{#level-2-with-an-embedded-link}
62* Level 3 with emphasis::
65@node Level 3 with emphasis
66@subsection Level 3 with @emph{emphasis}
67@anchor{#level-3-with-emphasis}
83* Level 2 with emphasis::
87@node Level 2 with emphasis
88@section Level 2 with @emph{emphasis}
89@anchor{#level-2-with-emphasis}
106@bigskip@hrule@bigskip
109------------------------------------------------------------------------
115Here's a regular paragraph.
117In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
118Because a hard-wrapped line in the middle of a paragraph looked like a list
121Here's one with a bullet. * criminey.
123There should be a hard line break@*
127@bigskip@hrule@bigskip
130------------------------------------------------------------------------
135@anchor{#block-quotes}
139This is a block quote. It is pretty short.
142Code in a block quote:
168This should not be a block quote: 2 > 1.
170And a following paragraph.
173@bigskip@hrule@bigskip
176------------------------------------------------------------------------
185---- (should be four hyphens)
191this code block is indented by one tab
197 this code block is indented by two tabs
199These should not be escaped: \$ \\ \> \[ \{
203@bigskip@hrule@bigskip
206------------------------------------------------------------------------
218* Fancy list markers::
358Item 1. graf two. The quick brown fox jumped over the lazy dog's back.
406Same thing but with paragraphs:
430@section Tabs and spaces
431@anchor{#tabs-and-spaces}
434this is a list item indented with tabs
437this is a list item indented with spaces
441this is an example list item indented with tabs
444this is an example list item indented with spaces
450@node Fancy list markers
451@section Fancy list markers
452@anchor{#fancy-list-markers}
464sublist with roman numerals, starting with 4
491Lower alpha with paren
514Should not be a list item:
521@bigskip@hrule@bigskip
524------------------------------------------------------------------------
527@node Definition Lists
528@chapter Definition Lists
529@anchor{#definition-lists}
575Multiple blocks with italics:
582contains seeds, crisp, pleasant to taste
597Multiple definitions, tight:
610Multiple definitions, loose:
627Blank line after term, indented marker, alternate markers:
652Simple block on one line:
655And nested without indentation:
659Interpreted markdown in a table:
661This is @emph{emphasized}
662And this is @strong{strong}
663Here's a simple block:
666This should be a code block, though:
683This should just be an HTML comment:
693Just plain comment, with trailing spaces on the line:
704@bigskip@hrule@bigskip
707------------------------------------------------------------------------
711@chapter Inline Markup
712@anchor{#inline-markup}
713This is @emph{emphasized}, and so @emph{is this}.
715This is @strong{strong}, and so @strong{is this}.
717An @emph{@uref{/url,emphasized link}}.
719@strong{@emph{This is strong and em.}}
721So is @strong{@emph{this}} word.
723@strong{@emph{This is strong and em.}}
725So is @strong{@emph{this}} word.
727This is code: @code{>}, @code{$}, @code{\}, @code{\$}, @code{<html>}.
729@textstrikeout{This is @emph{strikeout}.}
731Superscripts: a@sup{bc}d a@sup{@emph{hello}} a@sup{hello@ there}.
733Subscripts: H@sub{2}O, H@sub{23}O, H@sub{many@ of@ them}O.
735These should not be superscripts or subscripts, because of the unescaped
736spaces: a^b c^d, a~b c~d.
739@bigskip@hrule@bigskip
742------------------------------------------------------------------------
745@node Smart quotes ellipses dashes
746@chapter Smart quotes, ellipses, dashes
747@anchor{#smart-quotes-ellipses-dashes}
748``Hello,'' said the spider. ```Shelob' is my name.''
750`A', `B', and `C' are letters.
752`Oak,' `elm,' and `beech' are names of trees. So is `pine.'
754`He said, ``I want to go.''' Were you alive in the 70's?
756Here is some quoted `@code{code}' and a
757``@uref{http://example.com/?foo=1&bar=2,quoted link}''.
759Some dashes: one---two --- three---four --- five.
761Dashes between numbers: 5--7, 255--66, 1987--1999.
763Ellipses@dots{}and@dots{}and@dots{}.
766@bigskip@hrule@bigskip
769------------------------------------------------------------------------
778\cite[22-23]{smith.1899}
785@math{\alpha \wedge \omega}
791Here's some display math:
792@math{\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}}
794Here's one that has a line break in it: @math{\alpha + \omega \times x^2}.
797These shouldn't be math:
801To get the famous equation, write @code{$e = mc^2$}.
803$22,000 is a @emph{lot} of money. So is $34,000. (It worked if ``lot'' is
806Shoes ($20) and socks ($5).
808Escaped @code{$}: $73 @emph{this should be emphasized} 23$.
814\begin{tabular}{|l|l|}\hline
815Animal & Number \\ \hline
821@bigskip@hrule@bigskip
824------------------------------------------------------------------------
827@node Special Characters
828@chapter Special Characters
829@anchor{#special-characters}
845AT&T has an ampersand in their name.
847AT&T is another way to write it.
888@bigskip@hrule@bigskip
891------------------------------------------------------------------------
908Just a @uref{/url/,URL}.
910@uref{/url/,URL and title}.
912@uref{/url/,URL and title}.
914@uref{/url/,URL and title}.
916@uref{/url/,URL and title}
918@uref{/url/,URL and title}
920@uref{/url/with_underscore,with_underscore}
922@uref{mailto:nobody@@nowhere.net,Email link}
931With @uref{/url/,embedded [brackets]}.
933@uref{/url/,b} by itself should be a link.
935Indented @uref{/url,once}.
937Indented @uref{/url,twice}.
939Indented @uref{/url,thrice}.
941This should [not][] be a link.
952@section With ampersands
953@anchor{#with-ampersands}
954Here's a @uref{http://example.com/?foo=1&bar=2,link with an ampersand in the
957Here's a link with an amersand in the link text: @uref{http://att.com/,AT&T}.
959Here's an @uref{/script?foo=1&bar=2,inline link}.
961Here's an @uref{/script?foo=1&bar=2,inline link in pointy braces}.
966With an ampersand: @url{http://example.com/?foo=1&bar=2}
972@url{http://example.com/}
977An e-mail address: @uref{mailto:nobody@@nowhere.net,nobody@@nowhere.net}
980Blockquoted: @url{http://example.com/}
982Auto-links should not occur here: @code{<http://example.com/>}
985or here: <http://example.com/>
989@bigskip@hrule@bigskip
992------------------------------------------------------------------------
998From ``Voyage dans la Lune'' by Georges Melies (1902):
1001@image{lalune,,,lalune,jpg}
1005Here is a movie @image{movie,,,movie,jpg} icon.
1008@bigskip@hrule@bigskip
1011------------------------------------------------------------------------
1017Here is a footnote reference,@footnote{Here is the footnote. It can go
1018anywhere after the footnote reference. It need not be placed at the end of the
1019document.} and another.@footnote{Here's the long note. This one contains
1022Subsequent blocks are indented to show that they belong to the footnote (as
1029If you want, you can indent every line, but you can also be lazy and just
1030indent the first line of each block.} This should @emph{not} be a footnote
1031reference, because it contains a space.[^my note] Here is an inline
1032note.@footnote{This is @emph{easier} to type. Inline notes may contain
1033@uref{http://google.com,links} and @code{]} verbatim characters, as well as
1037Notes can go in quotes.@footnote{In quote.}
1041And in list items.@footnote{In list.}
1044This 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