2John MacFarlane; Anonymous
5This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
8------------------------------------------------------------------------------
15Level 2 with an embedded link
17Level 3 with _emphasis_
28Level 2 with _emphasis_
39------------------------------------------------------------------------------
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------------------------------------------------------------------------------
66 This is a block quote. It is pretty short.
68 Code in a block quote:
85This should not be a block quote: 2 > 1.
87And a following paragraph.
89------------------------------------------------------------------------------
98 ---- (should be four hyphens)
104 this code block is indented by one tab
108 this code block is indented by two tabs
110 These should not be escaped: \$ \\ \> \[ \{
112------------------------------------------------------------------------------
198 Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.
221Same thing but with paragraphs:
236- this is a list item indented with tabs
238- this is a list item indented with spaces
240 - this is an example list item indented with tabs
242 - this is an example list item indented with spaces
252 iv. sublist with roman numerals, starting with 4
261 (6) Decimal start with 6
262 c) Lower alpha with paren
270Should not be a list item:
276------------------------------------------------------------------------------
319Multiple blocks with italics:
325 contains seeds, crisp, pleasant to taste
331 { orange code block }
335Multiple definitions, tight:
345Multiple definitions, loose:
359Blank line after term, indented marker, alternate markers:
379Simple block on one line:
383And nested without indentation:
389Interpreted markdown in a table:
393Here’s a simple block:
397This should be a code block, though:
411This should just be an HTML comment:
419Just plain comment, with trailing spaces on the line:
427------------------------------------------------------------------------------
434This is _emphasized_, and so _is this_.
436This is STRONG, and so IS THIS.
440_THIS IS STRONG AND EM._
444_THIS IS STRONG AND EM._
448This is code: >, $, \, \$, <html>.
450~~This is _strikeout_.~~
452Superscripts: a^bc^d a^_hello_^ a^hello there^.
454Subscripts: H~2~O, H~23~O, H~many of them~O.
456These should not be superscripts or subscripts, because of the unescaped
457spaces: a^b c^d, a~b c~d.
459------------------------------------------------------------------------------
463SMART QUOTES, ELLIPSES, DASHES
466“Hello,” said the spider. “‘Shelob’ is my name.”
468‘A’, ‘B’, and ‘C’ are letters.
470‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’
472‘He said, “I want to go.”’ Were you alive in the 70’s?
474Here is some quoted ‘code’ and a “quoted link”.
476Some dashes: one—two — three—four — five.
478Dashes between numbers: 5–7, 255–66, 1987–1999.
482------------------------------------------------------------------------------
495- Here’s some display math:
496 $$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$
497- Here’s one that has a line break in it: α + ω × x^2^.
499These shouldn’t be math:
501- To get the famous equation, write $e = mc^2$.
502- $22,000 is a _lot_ of money. So is $34,000. (It worked if “lot”
504- Shoes ($20) and socks ($5).
505- Escaped $: $73 _this should be emphasized_ 23$.
509------------------------------------------------------------------------------
524AT&T has an ampersand in their name.
526AT&T is another way to write it.
566------------------------------------------------------------------------------
602With embedded [brackets].
604b by itself should be a link.
612This should [not][] be a link.
623Here’s a link with an ampersand in the URL.
625Here’s a link with an amersand in the link text: AT&T.
627Here’s an inline link.
629Here’s an inline link in pointy braces.
634With an ampersand: http://example.com/?foo=1&bar=2
640An e-mail address: nobody@nowhere.net
642 Blockquoted: http://example.com/
644Auto-links should not occur here: <http://example.com/>
646 or here: <http://example.com/>
648------------------------------------------------------------------------------
655From “Voyage dans la Lune” by Georges Melies (1902):
659Here is a movie [movie] icon.
661------------------------------------------------------------------------------
668Here is a footnote reference,[1] and another.[2] This should _not_ be a
669footnote reference, because it contains a space.[^my note] Here is an inline
672 Notes can go in quotes.[4]
6741. And in list items.[5]
676This paragraph should not be part of the note, as it is not indented.
678[1] Here is the footnote. It can go anywhere after the footnote reference. It
679need not be placed at the end of the document.
681[2] Here’s the long note. This one contains multiple blocks.
683Subsequent blocks are indented to show that they belong to the footnote (as
688If you want, you can indent every line, but you can also be lazy and just
689indent the first line of each block.
691[3] This is _easier_ to type. Inline notes may contain links and ] verbatim
692characters, 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