6title: Pandoc Test Suite
9This is a set of tests for pandoc. Most of them are adapted from John Gruber's
12------------------------------------------------------------------------------
17Level 2 with an [embedded link](/url)
18-------------------------------------
20### Level 3 with *emphasis*
29Level 2 with *emphasis*
30-----------------------
41------------------------------------------------------------------------------
46Here's a regular paragraph.
48In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
49Because a hard-wrapped line in the middle of a paragraph looked like a list
52Here's one with a bullet. \* criminey.
54There should be a hard line break\
57------------------------------------------------------------------------------
64> This is a block quote. It is pretty short.
66> Code in a block quote:
83This should not be a block quote: 2 \> 1.
85And a following paragraph.
87------------------------------------------------------------------------------
94 ---- (should be four hyphens)
100 this code block is indented by one tab
104 this code block is indented by two tabs
106 These should not be escaped: \$ \\ \> \[ \{
108------------------------------------------------------------------------------
193 Item 1. graf two. The quick brown fox jumped over the lazy dog's back.
215Same thing but with paragraphs:
230- this is a list item indented with tabs
232- this is a list item indented with spaces
234 - this is an example list item indented with tabs
236 - this is an example list item indented with spaces
246 iv. sublist with roman numerals, starting with 4
255 (6) Decimal start with 6
256 c) Lower alpha with paren
264Should not be a list item:
270------------------------------------------------------------------------------
311Multiple blocks with italics:
317 contains seeds, crisp, pleasant to taste
323 { orange code block }
327Multiple definitions, tight:
337Multiple definitions, loose:
351Blank line after term, indented marker, alternate markers:
369Simple block on one line:
377And nested without indentation:
399Interpreted markdown in a table:
407And this is **strong**
411<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
412Here's a simple block:
420This should be a code block, though:
446This should just be an HTML comment:
456 This is another comment.
462Just plain comment, with trailing spaces on the line:
477<hr class="foo" id="bar" />
478<hr class="foo" id="bar" />
479<hr class="foo" id="bar">
481------------------------------------------------------------------------------
486This is *emphasized*, and so *is this*.
488This is **strong**, and so **is this**.
490An *[emphasized link](/url)*.
492***This is strong and em.***
494So is ***this*** word.
496***This is strong and em.***
498So is ***this*** word.
500This is code: `>`, `$`, `\`, `\$`, `<html>`.
502~~This is *strikeout*.~~
504Superscripts: a^bc^d a^*hello*^ a^hello there^.
506Subscripts: H~2~O, H~23~O, H~many of them~O.
508These should not be superscripts or subscripts, because of the unescaped
509spaces: a\^b c\^d, a\~b c\~d.
511------------------------------------------------------------------------------
513Smart quotes, ellipses, dashes
514==============================
516"Hello," said the spider. "'Shelob' is my name."
518'A', 'B', and 'C' are letters.
520'Oak,' 'elm,' and 'beech' are names of trees. So is 'pine.'
522'He said, "I want to go."' Were you alive in the 70's?
524Here is some quoted '`code`' and a "[quoted
525link](http://example.com/?foo=1&bar=2)".
527Some dashes: one---two --- three---four --- five.
529Dashes between numbers: 5--7, 255--66, 1987--1999.
531Ellipses...and...and....
533------------------------------------------------------------------------------
538- \cite[22-23]{smith.1899}
541- $\alpha \wedge \omega$
544- Here's some display math:
545 $$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$
546- Here's one that has a line break in it: $\alpha + \omega \times x^2$.
548These shouldn't be math:
550- To get the famous equation, write `$e = mc^2$`.
551- \$22,000 is a *lot* of money. So is \$34,000. (It worked if "lot" is
553- Shoes (\$20) and socks (\$5).
554- Escaped `$`: \$73 *this should be emphasized* 23\$.
558\begin{tabular}{|l|l|}\hline
559Animal & Number \\ \hline
564------------------------------------------------------------------------------
577AT&T has an ampersand in their name.
579AT&T is another way to write it.
619------------------------------------------------------------------------------
629[URL and title](/url/ "title").
631[URL and title](/url/ "title preceded by two spaces").
633[URL and title](/url/ "title preceded by a tab").
635[URL and title](/url/ "title with "quotes" in it")
637[URL and title](/url/ "title with single quotes")
639[with\_underscore](/url/with_underscore)
641[Email link](mailto:nobody@nowhere.net)
650With [embedded \[brackets\]](/url/).
652[b](/url/) by itself should be a link.
654Indented [once](/url).
656Indented [twice](/url).
658Indented [thrice](/url).
660This should \[not\]\[\] be a link.
664Foo [bar](/url/ "Title with "quotes" inside").
666Foo [biz](/url/ "Title with "quote" inside").
671Here's a [link with an ampersand in the URL](http://example.com/?foo=1&bar=2).
673Here's a link with an amersand in the link text:
674[AT&T](http://att.com/ "AT&T").
676Here's an [inline link](/script?foo=1&bar=2).
678Here's an [inline link in pointy braces](/script?foo=1&bar=2).
683With an ampersand: <http://example.com/?foo=1&bar=2>
686- <http://example.com/>
689An e-mail address: <nobody@nowhere.net>
691> Blockquoted: <http://example.com/>
693Auto-links should not occur here: `<http://example.com/>`
695 or here: <http://example.com/>
697------------------------------------------------------------------------------
702From "Voyage dans la Lune" by Georges Melies (1902):
704
706Here is a movie  icon.
708------------------------------------------------------------------------------
713Here is a footnote reference,[^1] and another.[^2] This should *not* be a
714footnote reference, because it contains a space.\[\^my note\] Here is an
717> Notes can go in quotes.[^4]
7191. And in list items.[^5]
721This paragraph should not be part of the note, as it is not indented.
723[^1]: Here is the footnote. It can go anywhere after the footnote reference.
724 It need not be placed at the end of the document.
726[^2]: Here's the long note. This one contains multiple blocks.
728 Subsequent blocks are indented to show that they belong to the footnote
729 (as with list items).
733 If you want, you can indent every line, but you can also be lazy and just
734 indent the first line of each block.
736[^3]: This is *easier* to type. Inline notes may contain
737 [links](http://google.com) and `]` verbatim characters, as well as
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