2% John MacFarlane; Anonymous
5This is a set of tests for pandoc. Most of them are adapted from
6John Gruber's markdown test suite.
13## Level 2 with an [embedded link](/url)
15### Level 3 with *emphasis*
23## Level 2 with *emphasis*
38Here's a regular paragraph.
40In Markdown 1.0.0 and earlier. Version 8. This line turns into a
41list item. Because a hard-wrapped line in the middle of a paragraph
42looked like a list item.
44Here's one with a bullet. \* criminey.
46There should be a hard line break
56> This is a block quote. It is pretty short.
58> Code in a block quote:
75This should not be a block quote: 2 \> 1.
77And a following paragraph.
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: \$ \\ \> \[ \{
188 Item 1. graf two. The quick brown fox jumped over the lazy dog's
214Same thing but with paragraphs:
229- this is a list item indented with tabs
231- this is a list item indented with spaces
233 - this is an example list item indented with tabs
235 - this is an example list item indented with spaces
246 iv. sublist with roman numerals, starting with 4
257 (6) Decimal start with 6
258 c) Lower alpha with paren
270Should not be a list item:
311Multiple blocks with italics:
316 contains seeds, crisp, pleasant to taste
321 { orange code block }
326Multiple definitions, tight:
335Multiple definitions, loose:
348Blank line after term, indented marker, alternate markers:
364Simple block on one line:
370And nested without indentation:
383Interpreted markdown in a table:
391And this is **strong**
396<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
398Here's a simple block:
405This should be a code block, though:
426This should just be an HTML comment:
438 This is another comment.
445Just plain comment, with trailing spaces on the line:
467<hr class="foo" id="bar" />
469<hr class="foo" id="bar" />
471<hr class="foo" id="bar">
478This is *emphasized*, and so *is this*.
480This is **strong**, and so **is this**.
482An *[emphasized link](/url)*.
484***This is strong and em.***
486So is ***this*** word.
488***This is strong and em.***
490So is ***this*** word.
492This is code: `>`, `$`, `\`, `\$`, `<html>`.
494~~This is *strikeout*.~~
496Superscripts: a^bc^d a^*hello*^ a^hello there^.
498Subscripts: H~2~O, H~23~O, H~many of them~O.
500These should not be superscripts or subscripts, because of the
501unescaped spaces: a\^b c\^d, a\~b c\~d.
506# Smart quotes, ellipses, dashes
508"Hello," said the spider. "'Shelob' is my name."
510'A', 'B', and 'C' are letters.
512'Oak,' 'elm,' and 'beech' are names of trees. So is 'pine.'
514'He said, "I want to go."' Were you alive in the 70's?
516Here is some quoted '`code`' and a
517"[quoted link](http://example.com/?foo=1&bar=2)".
519Some dashes: one--two -- three--four -- five.
521Dashes between numbers: 5-7, 255-66, 1987-1999.
523Ellipses...and...and....
530- \cite[22-23]{smith.1899}
533- $\alpha \wedge \omega$
536- Here's some display math:
537 $$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$
538- Here's one that has a line break in it:
539 $\alpha + \omega \times x^2$.
541These shouldn't be math:
543- To get the famous equation, write `$e = mc^2$`.
544- $22,000 is a *lot* of money. So is $34,000. (It worked if "lot"
546- Shoes ($20) and socks ($5).
547- Escaped `$`: $73 *this should be emphasized* 23$.
551\begin{tabular}{|l|l|}\hline
552Animal & Number \\ \hline
570AT&T has an ampersand in their name.
572AT&T is another way to write it.
621[URL and title](/url/ "title").
623[URL and title](/url/ "title preceded by two spaces").
625[URL and title](/url/ "title preceded by a tab").
627[URL and title](/url/ "title with "quotes" in it")
629[URL and title](/url/ "title with single quotes")
631[with\_underscore](/url/with_underscore)
633[Email link](mailto:nobody@nowhere.net)
645With [embedded [brackets]](/url/).
647[b](/url/) by itself should be a link.
649Indented [once](/url).
651Indented [twice](/url).
653Indented [thrice](/url).
655This should [not][] be a link.
659Foo [bar](/url/ "Title with "quotes" inside").
661Foo [biz](/url/ "Title with "quote" inside").
666[link with an ampersand in the URL](http://example.com/?foo=1&bar=2).
668Here's a link with an amersand in the link text:
669[AT&T](http://att.com/ "AT&T").
671Here's an [inline link](/script?foo=1&bar=2).
673Here's an [inline link in pointy braces](/script?foo=1&bar=2).
677With an ampersand: <http://example.com/?foo=1&bar=2>
680- <http://example.com/>
683An e-mail address: <nobody@nowhere.net>
685> Blockquoted: <http://example.com/>
687Auto-links should not occur here: `<http://example.com/>`
689 or here: <http://example.com/>
696From "Voyage dans la Lune" by Georges Melies (1902):
698
700Here is a movie  icon.
707Here is a footnote reference,[^1] and another.[^2] This should
708*not* be a footnote reference, because it contains a space.[\^my
709note] Here is an inline note.[^3]
711> Notes can go in quotes.[^4]
7131. And in list items.[^5]
715This paragraph should not be part of the note, as it is not
720 Here is the footnote. It can go anywhere after the footnote
721 reference. It need not be placed at the end of the document.
724 Here's the long note. This one contains multiple blocks.
726 Subsequent blocks are indented to show that they belong to the
727 footnote (as with list items).
731 If you want, you can indent every line, but you can also be lazy
732 and just indent the first line of each block.
735 This is *easier* to type. Inline notes may contain
736 [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