2John MacFarlane; Anonymous
5This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
8------------------------------------------------------------------------------
12Level 2 with an embedded link
32------------------------------------------------------------------------------
36Here’s a regular paragraph.
38In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
39Because a hard-wrapped line in the middle of a paragraph looked like a list
42Here’s one with a bullet. * criminey.
44There should be a hard line break
47------------------------------------------------------------------------------
53 This is a block quote. It is pretty short.
55 Code in a block quote:
72This should not be a block quote: 2 > 1.
74And a following paragraph.
76------------------------------------------------------------------------------
82 ---- (should be four hyphens)
88 this code block is indented by one tab
92 this code block is indented by two tabs
94 These should not be escaped: \$ \\ \> \[ \{
96------------------------------------------------------------------------------
178 Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.
199Same thing but with paragraphs:
213- this is a list item indented with tabs
215- this is a list item indented with spaces
217 - this is an example list item indented with tabs
219 - this is an example list item indented with spaces
229 iv. sublist with roman numerals, starting with 4
238 (6) Decimal start with 6
239 c) Lower alpha with paren
247Should not be a list item:
253------------------------------------------------------------------------------
293Multiple blocks with italics:
299 contains seeds, crisp, pleasant to taste
305 { orange code block }
309Multiple definitions, tight:
319Multiple definitions, loose:
333Blank line after term, indented marker, alternate markers:
350Simple block on one line:
354And nested without indentation:
360Interpreted markdown in a table:
364Here’s a simple block:
368This should be a code block, though:
382This should just be an HTML comment:
390Just plain comment, with trailing spaces on the line:
398------------------------------------------------------------------------------
402This is emphasized, and so is this.
404This is strong, and so is this.
408This is strong and em.
412This is strong and em.
416This is code: >, $, \, \$, <html>.
418~~This is strikeout.~~
420Superscripts: a^(bc)d a^(hello) a^(hello there).
422Subscripts: H₂O, H₂₃O, H_(many of them)O.
424These should not be superscripts or subscripts, because of the unescaped
425spaces: a^b c^d, a~b c~d.
427------------------------------------------------------------------------------
429Smart quotes, ellipses, dashes
431“Hello,” said the spider. “‘Shelob’ is my name.”
433‘A’, ‘B’, and ‘C’ are letters.
435‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’
437‘He said, “I want to go.”’ Were you alive in the 70’s?
439Here is some quoted ‘code’ and a “quoted link”.
441Some dashes: one—two — three—four — five.
443Dashes between numbers: 5–7, 255–66, 1987–1999.
447------------------------------------------------------------------------------
457- Here’s some display math:
458 $$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$
459- Here’s one that has a line break in it: α + ω × x².
461These shouldn’t be math:
463- To get the famous equation, write $e = mc^2$.
464- $22,000 is a lot of money. So is $34,000. (It worked if “lot” is
466- Shoes ($20) and socks ($5).
467- Escaped $: $73 this should be emphasized 23$.
471------------------------------------------------------------------------------
483AT&T has an ampersand in their name.
485AT&T is another way to write it.
525------------------------------------------------------------------------------
553With embedded [brackets].
555b by itself should be a link.
563This should [not][] be a link.
573Here’s a link with an ampersand in the URL.
575Here’s a link with an amersand in the link text: AT&T.
577Here’s an inline link.
579Here’s an inline link in pointy braces.
583With an ampersand: http://example.com/?foo=1&bar=2
589An e-mail address: nobody@nowhere.net
591 Blockquoted: http://example.com/
593Auto-links should not occur here: <http://example.com/>
595 or here: <http://example.com/>
597------------------------------------------------------------------------------
601From “Voyage dans la Lune” by Georges Melies (1902):
605Here is a movie [movie] icon.
607------------------------------------------------------------------------------
611Here is a footnote reference,[1] and another.[2] This should not be a footnote
612reference, because it contains a space.[^my note] Here is an inline note.[3]
614 Notes can go in quotes.[4]
6161. And in list items.[5]
618This paragraph should not be part of the note, as it is not indented.
620[1] Here is the footnote. It can go anywhere after the footnote reference. It
621need not be placed at the end of the document.
623[2] Here’s the long note. This one contains multiple blocks.
625Subsequent blocks are indented to show that they belong to the footnote (as
630If you want, you can indent every line, but you can also be lazy and just
631indent the first line of each block.
633[3] This is easier to type. Inline notes may contain links and ] verbatim
634characters, 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