2John MacFarlane; Anonymous
5This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
12=== Level 2 with an link:/url[embedded link]
14==== Level 3 with _emphasis_
22=== Level 2 with _emphasis_
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 +
53__________________________________________
54This is a block quote. It is pretty short.
55__________________________________________
86This should not be a block quote: 2 > 1.
88And a following paragraph.
97---- (should be four hyphens)
103this code block is indented by one tab
109 this code block is indented by two tabs
111These should not be escaped: \$ \\ \> \[ \{
191Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.
211Same thing but with paragraphs:
223* this is a list item indented with tabs
224* this is a list item indented with spaces
225** this is an example list item indented with tabs
226** this is an example list item indented with spaces
228=== Fancy list markers
236.. sublist with roman numerals, starting with 4
249... Decimal start with 6
251.... Lower alpha with paren
259Should not be a list item:
296Multiple blocks with italics:
301 contains seeds, crisp, pleasant to taste
313Multiple definitions, tight:
324Multiple definitions, loose:
335Blank line after term, indented marker, alternate markers:
350Simple block on one line:
354And nested without indentation:
360Interpreted markdown in a table:
366Here’s a simple block:
370This should be a code block, though:
388This should just be an HTML comment:
398Just plain comment, with trailing spaces on the line:
412This is _emphasized_, and so _is this_.
414This is *strong*, and so *is this*.
416An _link:/url[emphasized link]_.
418*_This is strong and em._*
422*_This is strong and em._*
426This is code: `>`, `$`, `\`, `\$`, `<html>`.
428[line-through]*This is _strikeout_.*
430Superscripts: a^bc^d a^_hello_^ a^hello there^.
432Subscripts: H~2~O, H~23~O, H~many of them~O.
434These should not be superscripts or subscripts, because of the unescaped
435spaces: a^b c^d, a~b c~d.
439== Smart quotes, ellipses, dashes
441``Hello,'' said the spider. ```Shelob' is my name.''
443`A', `B', and `C' are letters.
445`Oak,' `elm,' and `beech' are names of trees. So is `pine.'
447`He said, ``I want to go.''' Were you alive in the 70’s?
449Here is some quoted ``code`' and a ``http://example.com/?foo=1&bar=2[quoted
452Some dashes: one—two — three—four — five.
454Dashes between numbers: 5–7, 255–66, 1987–1999.
464* latexmath:[$x \in y$]
465* latexmath:[$\alpha \wedge \omega$]
467* latexmath:[$p$]-Tree
468* Here’s some display math:
469latexmath:[\[\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\]]
470* Here’s one that has a line break in it:
471latexmath:[$\alpha + \omega \times x^2$].
473These shouldn’t be math:
475* To get the famous equation, write `$e = mc^2$`.
476* $22,000 is a _lot_ of money. So is $34,000. (It worked if ``lot'' is
478* Shoes ($20) and socks ($5).
479* Escaped `$`: $73 _this should be emphasized_ 23$.
495AT&T has an ampersand in their name.
497AT&T is another way to write it.
543Just a link:/url/[URL].
545link:/url/[URL and title].
547link:/url/[URL and title].
549link:/url/[URL and title].
551link:/url/[URL and title]
553link:/url/[URL and title]
555link:/url/with_underscore[with_underscore]
557mailto:nobody@nowhere.net[Email link]
565With link:/url/[embedded [brackets]].
567link:/url/[b] by itself should be a link.
569Indented link:/url[once].
571Indented link:/url[twice].
573Indented link:/url[thrice].
575This should [not][] be a link.
587Here’s a http://example.com/?foo=1&bar=2[link with an ampersand in the URL].
589Here’s a link with an amersand in the link text: http://att.com/[AT&T].
591Here’s an link:/script?foo=1&bar=2[inline link].
593Here’s an link:/script?foo=1&bar=2[inline link in pointy braces].
597With an ampersand: http://example.com/?foo=1&bar=2
603An e-mail address: nobody@nowhere.net
605________________________________
606Blockquoted: http://example.com/
607________________________________
609Auto-links should not occur here: `<http://example.com/>`
612or here: <http://example.com/>
619From ``Voyage dans la Lune'' by Georges Melies (1902):
621image:lalune.jpg[lalune,title="Voyage dans la Lune"]
623Here is a movie image:movie.jpg[movie] icon.
629Here is a footnote reference,footnote:[Here is the footnote. It can go
630anywhere after the footnote reference. It need not be placed at the end of the
631document.] and another.[multiblock footnote omitted] This should _not_ be a
632footnote reference, because it contains a space.[^my note] Here is an inline
633note.footnote:[This is _easier_ to type. Inline notes may contain
634http://google.com[links] and `]` verbatim characters, as well as [bracketed
637___________________________________________
638Notes can go in quotes.footnote:[In quote.]
639___________________________________________
642. And in list items.footnote:[In list.]
644This 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