6title: Pandoc Test Suite
9This is a set of tests for pandoc. Most of them are adapted from John Gruber's
12------------------------------------------------------------------------------
16## Level 2 with an [embedded link](/url)
18### Level 3 with *emphasis*
26## Level 2 with *emphasis*
36------------------------------------------------------------------------------
40Here's a regular paragraph.
42In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
43Because a hard-wrapped line in the middle of a paragraph looked like a list
46Here's one with a bullet. \* criminey.
48There should be a hard line break\
51------------------------------------------------------------------------------
57> This is a block quote. It is pretty short.
59> Code in a block quote:
76This should not be a block quote: 2 \> 1.
78And a following paragraph.
80------------------------------------------------------------------------------
86 ---- (should be four hyphens)
92 this code block is indented by one tab
96 this code block is indented by two tabs
98 These should not be escaped: \$ \\ \> \[ \{
100------------------------------------------------------------------------------
182 Item 1. graf two. The quick brown fox jumped over the lazy dog's back.
203Same thing but with paragraphs:
217- this is a list item indented with tabs
219- this is a list item indented with spaces
221 - this is an example list item indented with tabs
223 - this is an example list item indented with spaces
233 iv. sublist with roman numerals, starting with 4
242 (6) Decimal start with 6
243 c) Lower alpha with paren
251Should not be a list item:
257------------------------------------------------------------------------------
297Multiple blocks with italics:
303 contains seeds, crisp, pleasant to taste
309 { orange code block }
313Multiple definitions, tight:
323Multiple definitions, loose:
337Blank line after term, indented marker, alternate markers:
354Simple block on one line:
362And nested without indentation:
384Interpreted markdown in a table:
402And this is **strong**
413<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
415Here's a simple block:
423This should be a code block, though:
449This should just be an HTML comment:
464 This is another comment.
471Just plain comment, with trailing spaces on the line:
501<hr class="foo" id="bar" />
504<hr class="foo" id="bar" />
507<hr class="foo" id="bar">
510------------------------------------------------------------------------------
514This is *emphasized*, and so *is this*.
516This is **strong**, and so **is this**.
518An *[emphasized link](/url)*.
520***This is strong and em.***
522So is ***this*** word.
524***This is strong and em.***
526So is ***this*** word.
528This is code: `>`, `$`, `\`, `\$`, `<html>`.
530~~This is *strikeout*.~~
532Superscripts: a^bc^d a^*hello*^ a^hello there^.
534Subscripts: H~2~O, H~23~O, H~many of them~O.
536These should not be superscripts or subscripts, because of the unescaped
537spaces: a\^b c\^d, a\~b c\~d.
539------------------------------------------------------------------------------
541# Smart quotes, ellipses, dashes
543"Hello," said the spider. "'Shelob' is my name."
545'A', 'B', and 'C' are letters.
547'Oak,' 'elm,' and 'beech' are names of trees. So is 'pine.'
549'He said, "I want to go."' Were you alive in the 70's?
551Here is some quoted '`code`' and a "[quoted
552link](http://example.com/?foo=1&bar=2)".
554Some dashes: one---two --- three---four --- five.
556Dashes between numbers: 5--7, 255--66, 1987--1999.
558Ellipses...and...and....
560------------------------------------------------------------------------------
564- `\cite[22-23]{smith.1899}`{=tex}
567- $\alpha \wedge \omega$
570- Here's some display math:
571 $$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$
572- Here's one that has a line break in it: $\alpha + \omega \times x^2$.
574These shouldn't be math:
576- To get the famous equation, write `$e = mc^2$`.
577- \$22,000 is a *lot* of money. So is \$34,000. (It worked if "lot" is
579- Shoes (\$20) and socks (\$5).
580- Escaped `$`: \$73 *this should be emphasized* 23\$.
585\begin{tabular}{|l|l|}\hline
586Animal & Number \\ \hline
592------------------------------------------------------------------------------
604AT&T has an ampersand in their name.
606AT&T is another way to write it.
646------------------------------------------------------------------------------
654[URL and title](/url/ "title").
656[URL and title](/url/ "title preceded by two spaces").
658[URL and title](/url/ "title preceded by a tab").
660[URL and title](/url/ "title with "quotes" in it")
662[URL and title](/url/ "title with single quotes")
664[with_underscore](/url/with_underscore)
666[Email link](mailto:nobody@nowhere.net)
674With [embedded \[brackets\]](/url/).
676[b](/url/) by itself should be a link.
678Indented [once](/url).
680Indented [twice](/url).
682Indented [thrice](/url).
684This should \[not\]\[\] be a link.
688Foo [bar](/url/ "Title with "quotes" inside").
690Foo [biz](/url/ "Title with "quote" inside").
694Here's a [link with an ampersand in the URL](http://example.com/?foo=1&bar=2).
696Here's a link with an amersand in the link text:
697[AT&T](http://att.com/ "AT&T").
699Here's an [inline link](/script?foo=1&bar=2).
701Here's an [inline link in pointy braces](/script?foo=1&bar=2).
705With an ampersand: <http://example.com/?foo=1&bar=2>
708- <http://example.com/>
711An e-mail address: <nobody@nowhere.net>
713> Blockquoted: <http://example.com/>
715Auto-links should not occur here: `<http://example.com/>`
717 or here: <http://example.com/>
719------------------------------------------------------------------------------
723From "Voyage dans la Lune" by Georges Melies (1902):
725
727Here is a movie  icon.
729------------------------------------------------------------------------------
733Here is a footnote reference,[^1] and another.[^2] This should *not* be a
734footnote reference, because it contains a space.\[\^my note\] Here is an
737> Notes can go in quotes.[^4]
7391. And in list items.[^5]
741This paragraph should not be part of the note, as it is not indented.
743[^1]: Here is the footnote. It can go anywhere after the footnote reference.
744 It need not be placed at the end of the document.
746[^2]: Here's the long note. This one contains multiple blocks.
748 Subsequent blocks are indented to show that they belong to the footnote
749 (as with list items).
753 If you want, you can indent every line, but you can also be lazy and just
754 indent the first line of each block.
756[^3]: This is *easier* to type. Inline notes may contain
757 [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