2John MacFarlane; Anonymous
5This is a set of tests for pandoc. Most of them are adapted from
6John Gruber's markdown test suite.
14Level 2 with an embedded link
15-----------------------------
44Here's a regular paragraph.
46In Markdown 1.0.0 and earlier. Version 8. This line turns into a
47list item. Because a hard-wrapped line in the middle of a paragraph
48looked like a list item.
50Here's one with a bullet. * criminey.
52There should be a hard line break
63 This is a block quote. It is pretty short.
65 Code in a block quote:
82This should not be a block quote: 2 > 1.
84And a following paragraph.
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: \$ \\ \> \[ \{
199 Item 1. graf two. The quick brown fox jumped over the lazy dog's
226Same thing but with paragraphs:
242- this is a list item indented with tabs
244- this is a list item indented with spaces
246 - this is an example list item indented with tabs
248 - this is an example list item indented with spaces
260 iv. sublist with roman numerals, starting with 4
271 (6) Decimal start with 6
272 c) Lower alpha with paren
284Should not be a list item:
326Multiple blocks with italics:
331 contains seeds, crisp, pleasant to taste
336 { orange code block }
341Multiple definitions, tight:
350Multiple definitions, loose:
363Blank line after term, indented marker, alternate markers:
380Simple block on one line:
383And nested without indentation:
387Interpreted markdown in a table:
391Here's a simple block:
394This should be a code block, though:
407This should just be an HTML comment:
415Just plain comment, with trailing spaces on the line:
429This is emphasized, and so is this.
431This is strong, and so is this.
435This is strong and em.
439This is strong and em.
443This is code: >, $, \, \$, <html>.
447Superscripts: abcd ahello ahello there.
449Subscripts: H2O, H23O, Hmany of themO.
451These should not be superscripts or subscripts, because of the
452unescaped spaces: a^b c^d, a~b c~d.
457Smart quotes, ellipses, dashes
458==============================
460"Hello," said the spider. "'Shelob' is my name."
462'A', 'B', and 'C' are letters.
464'Oak,' 'elm,' and 'beech' are names of trees. So is 'pine.'
466'He said, "I want to go."' Were you alive in the 70's?
468Here is some quoted 'code' and a "quoted link".
470Some dashes: one--two -- three--four -- five.
472Dashes between numbers: 5-7, 255-66, 1987-1999.
474Ellipses...and...and....
485- \alpha \wedge \omega
488- Here's some display math:
489 \frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}
490- Here's one that has a line break in it:
491 \alpha + \omega \times x^2.
493These shouldn't be math:
495- To get the famous equation, write $e = mc^2$.
496- $22,000 is a lot of money. So is $34,000. (It worked if "lot"
498- Shoes ($20) and socks ($5).
499- Escaped $: $73 this should be emphasized 23$.
519AT&T has an ampersand in their name.
521AT&T is another way to write it.
597With embedded [brackets].
599b by itself should be a link.
607This should [not][] be a link.
618Here's a link with an ampersand in the URL.
620Here's a link with an amersand in the link text: AT&T.
622Here's an inline link.
624Here's an inline link in pointy braces.
629With an ampersand: http://example.com/?foo=1&bar=2
635An e-mail address: nobody@nowhere.net
637 Blockquoted: http://example.com/
639Auto-links should not occur here: <http://example.com/>
641 or here: <http://example.com/>
649From "Voyage dans la Lune" by Georges Melies (1902):
661Here is a footnote reference,[^1] and another.[^2] This should not
662be a footnote reference, because it contains a space.[^my note]
663Here is an inline note.[^3]
665 Notes can go in quotes.[^4]
6671. And in list items.[^5]
669This paragraph should not be part of the note, as it is not
674 Here is the footnote. It can go anywhere after the footnote
675 reference. It need not be placed at the end of the document.
678 Here's the long note. This one contains multiple blocks.
680 Subsequent blocks are indented to show that they belong to the
681 footnote (as with list items).
685 If you want, you can indent every line, but you can also be lazy
686 and just indent the first line of each block.
689 This is easier to type. Inline notes may contain links and ]
690 verbatim characters, as well as [bracketed text].
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