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__________________________________________
85This should not be a block quote: 2 > 1.
87And a following paragraph.
96---- (should be four hyphens)
102this code block is indented by one tab
108 this code block is indented by two tabs
110These should not be escaped: \$ \\ \> \[ \{
185Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.
204Same thing but with paragraphs:
215* this is a list item indented with tabs
216* this is a list item indented with spaces
217** this is an example list item indented with tabs
218** this is an example list item indented with spaces
220=== Fancy list markers
226a. sublist with roman numerals, starting with 4
2351. Decimal start with 6
236a. Lower alpha with paren
244Should not be a list item:
281Multiple blocks with italics:
286 contains seeds, crisp, pleasant to taste
298Multiple definitions, tight:
309Multiple definitions, loose:
320Blank line after term, indented marker, alternate markers:
334Simple block on one line:
338And nested without indentation:
344Interpreted markdown in a table:
350Here’s a simple block:
354This should be a code block, though:
372This should just be an HTML comment:
382Just plain comment, with trailing spaces on the line:
396This is _emphasized_, and so _is this_.
398This is *strong*, and so *is this*.
400An _link:/url[emphasized link]_.
402*_This is strong and em._*
406*_This is strong and em._*
410This is code: `>`, `$`, `\`, `\$`, `<html>`.
412[line-through]*This is _strikeout_.*
414Superscripts: a^bc^d a^_hello_^ a^hello there^.
416Subscripts: H~2~O, H~23~O, H~many of them~O.
418These should not be superscripts or subscripts, because of the unescaped
419spaces: a^b c^d, a~b c~d.
423== Smart quotes, ellipses, dashes
425``Hello,'' said the spider. ```Shelob' is my name.''
427`A', `B', and `C' are letters.
429`Oak,' `elm,' and `beech' are names of trees. So is `pine.'
431`He said, ``I want to go.''' Were you alive in the 70’s?
433Here is some quoted ``code`' and a ``http://example.com/?foo=1&bar=2[quoted
436Some dashes: one—two — three—four — five.
438Dashes between numbers: 5–7, 255–66, 1987–1999.
448* latexmath:[$x \in y$]
449* latexmath:[$\alpha \wedge \omega$]
451* latexmath:[$p$]-Tree
452* Here’s some display math:
453latexmath:[\[\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\]]
454* Here’s one that has a line break in it:
455latexmath:[$\alpha + \omega \times x^2$].
457These shouldn’t be math:
459* To get the famous equation, write `$e = mc^2$`.
460* $22,000 is a _lot_ of money. So is $34,000. (It worked if ``lot'' is
462* Shoes ($20) and socks ($5).
463* Escaped `$`: $73 _this should be emphasized_ 23$.
479AT&T has an ampersand in their name.
481AT&T is another way to write it.
527Just a link:/url/[URL].
529link:/url/[URL and title].
531link:/url/[URL and title].
533link:/url/[URL and title].
535link:/url/[URL and title]
537link:/url/[URL and title]
539link:/url/with_underscore[with_underscore]
541mailto:nobody@nowhere.net[Email link]
549With link:/url/[embedded [brackets]].
551link:/url/[b] by itself should be a link.
553Indented link:/url[once].
555Indented link:/url[twice].
557Indented link:/url[thrice].
559This should [not][] be a link.
571Here’s a http://example.com/?foo=1&bar=2[link with an ampersand in the URL].
573Here’s a link with an amersand in the link text: http://att.com/[AT&T].
575Here’s an link:/script?foo=1&bar=2[inline link].
577Here’s an link:/script?foo=1&bar=2[inline link in pointy braces].
581With an ampersand: http://example.com/?foo=1&bar=2
587An e-mail address: nobody@nowhere.net
589________________________________
590Blockquoted: http://example.com/
591________________________________
593Auto-links should not occur here: `<http://example.com/>`
596or here: <http://example.com/>
603From ``Voyage dans la Lune'' by Georges Melies (1902):
605image:lalune.jpg[lalune,title="Voyage dans la Lune"]
607Here is a movie image:movie.jpg[movie] icon.
613Here is a footnote reference,footnote:[Here is the footnote. It can go
614anywhere after the footnote reference. It need not be placed at the end of the
615document.] and another.[multiblock footnote omitted] This should _not_ be a
616footnote reference, because it contains a space.[^my note] Here is an inline
617note.footnote:[This is _easier_ to type. Inline notes may contain
618http://google.com[links] and `]` verbatim characters, as well as [bracketed
621___________________________________________
622Notes can go in quotes.footnote:[In quote.]
623___________________________________________
6251. And in list items.footnote:[In list.]
627This 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