3:author: John MacFarlane
7This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
16[[level-2-with-an-embedded-link]]
17Level 2 with an link:/url[embedded link]
18~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20[[level-3-with-emphasis]]
21Level 3 with _emphasis_
22^^^^^^^^^^^^^^^^^^^^^^^
35[[level-2-with-emphasis]]
36Level 2 with _emphasis_
37~~~~~~~~~~~~~~~~~~~~~~~
57Here’s a regular paragraph.
59In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
60Because a hard-wrapped line in the middle of a paragraph looked like a list
63Here’s one with a bullet. * criminey.
65There should be a hard line break +
76__________________________________________
77This is a block quote. It is pretty short.
78__________________________________________
106______________________
108This should not be a block quote: 2 > 1.
110And a following paragraph.
120--------------------------------------
121---- (should be four hyphens)
127this code block is indented by one tab
128--------------------------------------
132--------------------------------------------
133 this code block is indented by two tabs
135These should not be escaped: \$ \\ \> \[ \{
136--------------------------------------------
216Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.
237Same thing but with paragraphs:
250* this is a list item indented with tabs
251* this is a list item indented with spaces
252** this is an example list item indented with tabs
253** this is an example list item indented with spaces
255[[fancy-list-markers]]
263a. sublist with roman numerals, starting with 4
2721. Decimal start with 6
273a. Lower alpha with paren
281Should not be a list item:
320Multiple blocks with italics:
325 contains seeds, crisp, pleasant to taste
337Multiple definitions, tight:
348Multiple definitions, loose:
359Blank line after term, indented marker, alternate markers:
375Simple block on one line:
379And nested without indentation:
385Interpreted markdown in a table:
391Here’s a simple block:
395This should be a code block, though:
413This should just be an HTML comment:
423Just plain comment, with trailing spaces on the line:
439This is __emphasized__, and so __is this__.
441This is **strong**, and so **is this**.
443An __link:/url[emphasized link]__.
445*_This is strong and em._*
449*_This is strong and em._*
453This is code: `>`, `$`, `\`, `\$`, `<html>`.
455[line-through]*This is __strikeout__.*
457Superscripts: a^bc^d a^_hello_^ a^hello there^.
459Subscripts: H~2~O, H~23~O, H~many of them~O.
461These should not be superscripts or subscripts, because of the unescaped
462spaces: a^b c^d, a~b c~d.
466[[smart-quotes-ellipses-dashes]]
467Smart quotes, ellipses, dashes
468------------------------------
470``Hello,'' said the spider. ```Shelob' is my name.''
472`A', `B', and `C' are letters.
474`Oak,' `elm,' and `beech' are names of trees. So is `pine.'
476`He said, ``I want to go.''' Were you alive in the 70’s?
478Here is some quoted ``code`' and a ``http://example.com/?foo=1&bar=2[quoted
481Some dashes: one—two — three—four — five.
483Dashes between numbers: 5–7, 255–66, 1987–1999.
495* latexmath:[$x \in y$]
496* latexmath:[$\alpha \wedge \omega$]
498* latexmath:[$p$]-Tree
499* Here’s some display math:
500latexmath:[\[\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\]]
501* Here’s one that has a line break in it:
502latexmath:[$\alpha + \omega \times x^2$].
504These shouldn’t be math:
506* To get the famous equation, write `$e = mc^2$`.
507* $22,000 is a _lot_ of money. So is $34,000. (It worked if ``lot'' is
509* Shoes ($20) and socks ($5).
510* Escaped `$`: $73 _this should be emphasized_ 23$.
516[[special-characters]]
528AT&T has an ampersand in their name.
530AT&T is another way to write it.
580Just a link:/url/[URL].
582link:/url/[URL and title].
584link:/url/[URL and title].
586link:/url/[URL and title].
588link:/url/[URL and title]
590link:/url/[URL and title]
592link:/url/with_underscore[with_underscore]
594mailto:nobody@nowhere.net[Email link]
608With link:/url/[embedded [brackets]].
610link:/url/[b] by itself should be a link.
612Indented link:/url[once].
614Indented link:/url[twice].
616Indented link:/url[thrice].
618This should [not][] be a link.
632Here’s a http://example.com/?foo=1&bar=2[link with an ampersand in the URL].
634Here’s a link with an amersand in the link text: http://att.com/[AT&T].
636Here’s an link:/script?foo=1&bar=2[inline link].
638Here’s an link:/script?foo=1&bar=2[inline link in pointy braces].
644With an ampersand: http://example.com/?foo=1&bar=2
650An e-mail address: nobody@nowhere.net
652________________________________
653Blockquoted: http://example.com/
654________________________________
656Auto-links should not occur here: `<http://example.com/>`
658------------------------------
659or here: <http://example.com/>
660------------------------------
668From ``Voyage dans la Lune'' by Georges Melies (1902):
670image:lalune.jpg[lalune,title="Voyage dans la Lune"]
672Here is a movie image:movie.jpg[movie] icon.
680Here is a footnote reference,footnote:[Here is the footnote. It can go
681anywhere after the footnote reference. It need not be placed at the end of the
682document.] and another.[multiblock footnote omitted] This should _not_ be a
683footnote reference, because it contains a space.[^my note] Here is an inline
684note.footnote:[This is _easier_ to type. Inline notes may contain
685http://google.com[links] and `]` verbatim characters, as well as [bracketed
688___________________________________________
689Notes can go in quotes.footnote:[In quote.]
690___________________________________________
6921. And in list items.footnote:[In list.]
694This 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