2John MacFarlane; Anonymous
6This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
13=== Level 2 with an link:/url[embedded link]
15==== Level 3 with _emphasis_
23=== Level 2 with _emphasis_
37Here’s a regular paragraph.
39In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
40Because a hard-wrapped line in the middle of a paragraph looked like a list
43Here’s one with a bullet. * criminey.
45There should be a hard line break +
55This is a block quote. It is pretty short.
87This should not be a block quote: 2 > 1.
89And a following paragraph.
98---- (should be four hyphens)
104this code block is indented by one tab
110 this code block is indented by two tabs
112These should not be escaped: \$ \\ \> \[ \{
192Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.
212Same thing but with paragraphs:
224* this is a list item indented with tabs
225* this is a list item indented with spaces
226** this is an example list item indented with tabs
227** this is an example list item indented with spaces
229=== Fancy list markers
237.. sublist with roman numerals, starting with 4
250... Decimal start with 6
252.... Lower alpha with paren
260Should not be a list item:
297Multiple blocks with italics:
302 contains seeds, crisp, pleasant to taste
314Multiple definitions, tight:
325Multiple definitions, loose:
336Blank line after term, indented marker, alternate markers:
351Simple block on one line:
355And nested without indentation:
361Interpreted markdown in a table:
367Here’s a simple block:
371This should be a code block, though:
389This should just be an HTML comment:
399Just plain comment, with trailing spaces on the line:
413This is _emphasized_, and so _is this_.
415This is *strong*, and so *is this*.
417An _link:/url[emphasized link]_.
419*_This is strong and em._*
423*_This is strong and em._*
427This is code: `+>+`, `+$+`, `+\+`, `+\$+`, `+<html>+`.
429[line-through]*This is _strikeout_.*
431Superscripts: a^bc^d a^_hello_^ a^hello there^.
433Subscripts: H~2~O, H~23~O, H~many of them~O.
435These should not be superscripts or subscripts, because of the unescaped
436spaces: a^b c^d, a~b c~d.
440== Smart quotes, ellipses, dashes
442"`Hello,`" said the spider. "`'`Shelob`' is my name.`"
444'`A`', '`B`', and '`C`' are letters.
446'`Oak,`' '`elm,`' and '`beech`' are names of trees. So is '`pine.`'
448'`He said, "`I want to go.`"`' Were you alive in the 70’s?
450Here is some quoted '``+code+``' and a
451"`http://example.com/?foo=1&bar=2[quoted link]`".
453Some dashes: one—two — three—four — five.
455Dashes between numbers: 5–7, 255–66, 1987–1999.
466* latexmath:[\alpha \wedge \omega]
469* Here’s some display math:
473\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}
475* Here’s one that has a line break in it:
476latexmath:[\alpha + \omega \times x^2].
478These shouldn’t be math:
480* To get the famous equation, write `+$e = mc^2$+`.
481* $22,000 is a _lot_ of money. So is $34,000. (It worked if "`lot`" is
483* Shoes ($20) and socks ($5).
484* Escaped `+$+`: $73 _this should be emphasized_ 23$.
500AT&T has an ampersand in their name.
502AT&T is another way to write it.
548Just a link:/url/[URL].
550link:/url/[URL and title].
552link:/url/[URL and title].
554link:/url/[URL and title].
556link:/url/[URL and title]
558link:/url/[URL and title]
560link:/url/with_underscore[with_underscore]
562mailto:nobody@nowhere.net[Email link]
570With link:/url/[embedded [brackets]].
572link:/url/[b] by itself should be a link.
574Indented link:/url[once].
576Indented link:/url[twice].
578Indented link:/url[thrice].
580This should [not][] be a link.
592Here’s a http://example.com/?foo=1&bar=2[link with an ampersand in the URL].
594Here’s a link with an amersand in the link text: http://att.com/[AT&T].
596Here’s an link:/script?foo=1&bar=2[inline link].
598Here’s an link:/script?foo=1&bar=2[inline link in pointy braces].
602With an ampersand: http://example.com/?foo=1&bar=2
608An e-mail address: nobody@nowhere.net
611Blockquoted: http://example.com/
614Auto-links should not occur here: `+<http://example.com/>+`
617or here: <http://example.com/>
624From "`Voyage dans la Lune`" by Georges Melies (1902):
626image:lalune.jpg[lalune,title="Voyage dans la Lune"]
628Here is a movie image:movie.jpg[movie] icon.
634Here is a footnote reference,footnote:[Here is the footnote. It can go
635anywhere after the footnote reference. It need not be placed at the end of the
636document.] and another.[multiblock footnote omitted] This should _not_ be a
637footnote reference, because it contains a space.[^my note] Here is an inline
638note.footnote:[This is _easier_ to type. Inline notes may contain
639http://google.com[links] and `+]+` verbatim characters, as well as [bracketed
643Notes can go in quotes.footnote:[In quote.]
647. And in list items.footnote:[In list.]
649This paragraph should not be part of the note, as it is not indented.
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