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 +
54This is a block quote. It is pretty short.
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:
472\[\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\]
474* Here’s one that has a line break in it:
475latexmath:[$\alpha + \omega \times x^2$].
477These shouldn’t be math:
479* To get the famous equation, write `$e = mc^2$`.
480* $22,000 is a _lot_ of money. So is $34,000. (It worked if ``lot'' is
482* Shoes ($20) and socks ($5).
483* Escaped `$`: $73 _this should be emphasized_ 23$.
499AT&T has an ampersand in their name.
501AT&T is another way to write it.
547Just a link:/url/[URL].
549link:/url/[URL and title].
551link:/url/[URL and title].
553link:/url/[URL and title].
555link:/url/[URL and title]
557link:/url/[URL and title]
559link:/url/with_underscore[with_underscore]
561mailto:nobody@nowhere.net[Email link]
569With link:/url/[embedded [brackets]].
571link:/url/[b] by itself should be a link.
573Indented link:/url[once].
575Indented link:/url[twice].
577Indented link:/url[thrice].
579This should [not][] be a link.
591Here’s a http://example.com/?foo=1&bar=2[link with an ampersand in the URL].
593Here’s a link with an amersand in the link text: http://att.com/[AT&T].
595Here’s an link:/script?foo=1&bar=2[inline link].
597Here’s an link:/script?foo=1&bar=2[inline link in pointy braces].
601With an ampersand: http://example.com/?foo=1&bar=2
607An e-mail address: nobody@nowhere.net
610Blockquoted: http://example.com/
613Auto-links should not occur here: `<http://example.com/>`
616or here: <http://example.com/>
623From ``Voyage dans la Lune'' by Georges Melies (1902):
625image::lalune.jpg[lalune,title="Voyage dans la Lune"]
627Here is a movie image:movie.jpg[movie] icon.
633Here is a footnote reference,footnote:[Here is the footnote. It can go
634anywhere after the footnote reference. It need not be placed at the end of the
635document.] and another.[multiblock footnote omitted] This should _not_ be a
636footnote reference, because it contains a space.[^my note] Here is an inline
637note.footnote:[This is _easier_ to type. Inline notes may contain
638http://google.com[links] and `]` verbatim characters, as well as [bracketed
642Notes can go in quotes.footnote:[In quote.]
646. And in list items.footnote:[In list.]
648This 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