@@ -0,0 +1,648 @@
2+John MacFarlane; Anonymous
5+This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
12+=== Level 2 with an link:/url[embedded link]
14+==== Level 3 with _emphasis_
22+=== Level 2 with _emphasis_
36+Here’s a regular paragraph.
38+In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
39+Because a hard-wrapped line in the middle of a paragraph looked like a list
42+Here’s one with a bullet. * criminey.
44+There should be a hard line break +
54+This is a block quote. It is pretty short.
59+Code in a block quote:
86+This should not be a block quote: 2 > 1.
88+And a following paragraph.
97+---- (should be four hyphens)
103+this code block is indented by one tab
109+ this code block is indented by two tabs
111+These should not be escaped: \$ \\ \> \[ \{
191+Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.
211+Same thing but with paragraphs:
223+* this is a list item indented with tabs
224+* this is a list item indented with spaces
225+** this is an example list item indented with tabs
226+** this is an example list item indented with spaces
228+=== Fancy list markers
235+[lowerroman, start=4]
236+.. sublist with roman numerals, starting with 4
249+... Decimal start with 6
250+[loweralpha, start=3]
251+.... Lower alpha with paren
259+Should not be a list item:
296+Multiple blocks with italics:
301+ contains seeds, crisp, pleasant to taste
306+{ orange code block }
313+Multiple definitions, tight:
324+Multiple definitions, loose:
335+Blank line after term, indented marker, alternate markers:
350+Simple block on one line:
354+And nested without indentation:
360+Interpreted markdown in a table:
366+Here’s a simple block:
370+This should be a code block, though:
388+This should just be an HTML comment:
398+Just plain comment, with trailing spaces on the line:
412+This is _emphasized_, and so _is this_.
414+This is *strong*, and so *is this*.
416+An _link:/url[emphasized link]_.
418+*_This is strong and em._*
422+*_This is strong and em._*
426+This is code: `>`, `$`, `\`, `\$`, `<html>`.
428+[line-through]*This is _strikeout_.*
430+Superscripts: a^bc^d a^_hello_^ a^hello there^.
432+Subscripts: H~2~O, H~23~O, H~many of them~O.
434+These should not be superscripts or subscripts, because of the unescaped
435+spaces: a^b c^d, a~b c~d.
439+== Smart quotes, ellipses, dashes
441+``Hello,'' said the spider. ```Shelob' is my name.''
443+`A', `B', and `C' are letters.
445+`Oak,' `elm,' and `beech' are names of trees. So is `pine.'
447+`He said, ``I want to go.''' Were you alive in the 70’s?
449+Here is some quoted ``code`' and a ``http://example.com/?foo=1&bar=2[quoted
452+Some dashes: one—two — three—four — five.
454+Dashes between numbers: 5–7, 255–66, 1987–1999.
464+* latexmath:[x \in y]
465+* latexmath:[\alpha \wedge \omega]
468+* Here’s some display math:
472+\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}
474+* Here’s one that has a line break in it:
475+latexmath:[\alpha + \omega \times x^2].
477+These shouldn’t be math:
479+* To get the famous equation, write `$e = mc^2$`.
480+* $22,000 is a _lot_ of money. So is $34,000. (It worked if ``lot'' is
482+* Shoes ($20) and socks ($5).
483+* Escaped `$`: $73 _this should be emphasized_ 23$.
485+Here’s a LaTeX table:
489+== Special Characters
491+Here is some unicode:
499+AT&T has an ampersand in their name.
501+AT&T is another way to write it.
547+Just a link:/url/[URL].
549+link:/url/[URL and title].
551+link:/url/[URL and title].
553+link:/url/[URL and title].
555+link:/url/[URL and title]
557+link:/url/[URL and title]
559+link:/url/with_underscore[with_underscore]
561+mailto:nobody@nowhere.net[Email link]
569+With link:/url/[embedded [brackets]].
571+link:/url/[b] by itself should be a link.
573+Indented link:/url[once].
575+Indented link:/url[twice].
577+Indented link:/url[thrice].
579+This should [not][] be a link.
591+Here’s a http://example.com/?foo=1&bar=2[link with an ampersand in the URL].
593+Here’s a link with an amersand in the link text: http://att.com/[AT&T].
595+Here’s an link:/script?foo=1&bar=2[inline link].
597+Here’s an link:/script?foo=1&bar=2[inline link in pointy braces].
601+With an ampersand: http://example.com/?foo=1&bar=2
604+* http://example.com/
607+An e-mail address: nobody@nowhere.net
610+Blockquoted: http://example.com/
613+Auto-links should not occur here: `<http://example.com/>`
616+or here: <http://example.com/>
623+From ``Voyage dans la Lune'' by Georges Melies (1902):
625+image:lalune.jpg[lalune,title="Voyage dans la Lune"]
627+Here is a movie image:movie.jpg[movie] icon.
633+Here is a footnote reference,footnote:[Here is the footnote. It can go
634+anywhere after the footnote reference. It need not be placed at the end of the
635+document.] and another.[multiblock footnote omitted] This should _not_ be a
636+footnote reference, because it contains a space.[^my note] Here is an inline
637+note.footnote:[This is _easier_ to type. Inline notes may contain
638+http://google.com[links] and `]` verbatim characters, as well as [bracketed
642+Notes can go in quotes.footnote:[In quote.]
646+. And in list items.footnote:[In list.]
648+This paragraph should not be part of the note, as it is not indented.