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:
378And nested without indentation:
382Interpreted markdown in a table:
386Here’s a simple block:
389This should be a code block, though:
406This should just be an HTML comment:
416Just plain comment, with trailing spaces on the line:
432This is _emphasized_, and so _is this_.
434This is *strong*, and so *is this*.
436An _link:/url[emphasized link]_.
438*_This is strong and em._*
442*_This is strong and em._*
446This is code: `>`, `$`, `\`, `\$`, `<html>`.
448[line-through]*This is _strikeout_.*
450Superscripts: a^bc^d a^_hello_^ a^hello there^.
452Subscripts: H~2~O, H~23~O, H~many of them~O.
454These should not be superscripts or subscripts, because of the unescaped
455spaces: a^b c^d, a~b c~d.
459[[smart-quotes-ellipses-dashes]]
460Smart quotes, ellipses, dashes
461------------------------------
463``Hello,'' said the spider. ```Shelob' is my name.''
465`A', `B', and `C' are letters.
467`Oak,' `elm,' and `beech' are names of trees. So is `pine.'
469`He said, ``I want to go.''' Were you alive in the 70’s?
471Here is some quoted ``code`' and a ``http://example.com/?foo=1&bar=2[quoted
474Some dashes: one—two — three—four — five.
476Dashes between numbers: 5–7, 255–66, 1987–1999.
488* latexmath:[$x \in y$]
489* latexmath:[$\alpha \wedge \omega$]
491* latexmath:[$p$]-Tree
492* Here’s some display math:
493latexmath:[\[\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\]]
494* Here’s one that has a line break in it:
495latexmath:[$\alpha + \omega \times x^2$].
497These shouldn’t be math:
499* To get the famous equation, write `$e = mc^2$`.
500* $22,000 is a _lot_ of money. So is $34,000. (It worked if ``lot'' is
502* Shoes ($20) and socks ($5).
503* Escaped `$`: $73 _this should be emphasized_ 23$.
509[[special-characters]]
521AT&T has an ampersand in their name.
523AT&T is another way to write it.
573Just a link:/url/[URL].
575link:/url/[URL and title].
577link:/url/[URL and title].
579link:/url/[URL and title].
581link:/url/[URL and title]
583link:/url/[URL and title]
585link:/url/with_underscore[with_underscore]
587mailto:nobody@nowhere.net[Email link]
601With link:/url/[embedded [brackets]].
603link:/url/[b] by itself should be a link.
605Indented link:/url[once].
607Indented link:/url[twice].
609Indented link:/url[thrice].
611This should [not][] be a link.
625Here’s a http://example.com/?foo=1&bar=2[link with an ampersand in the URL].
627Here’s a link with an amersand in the link text: http://att.com/[AT&T].
629Here’s an link:/script?foo=1&bar=2[inline link].
631Here’s an link:/script?foo=1&bar=2[inline link in pointy braces].
637With an ampersand: http://example.com/?foo=1&bar=2
643An e-mail address: nobody@nowhere.net
645________________________________
646Blockquoted: http://example.com/
647________________________________
649Auto-links should not occur here: `<http://example.com/>`
651------------------------------
652or here: <http://example.com/>
653------------------------------
661From ``Voyage dans la Lune'' by Georges Melies (1902):
663image:lalune.jpg[lalune,title="Voyage dans la Lune"]
665Here is a movie image:movie.jpg[movie] icon.
673Here is a footnote reference,footnote:[Here is the footnote. It can go
674anywhere after the footnote reference. It need not be placed at the end of the
675document.] and another.[multiblock footnote omitted] This should _not_ be a
676footnote reference, because it contains a space.[^my note] Here is an inline
677note.footnote:[This is _easier_ to type. Inline notes may contain
678http://google.com[links] and `]` verbatim characters, as well as [bracketed
681___________________________________________
682Notes can go in quotes.footnote:[In quote.]
683___________________________________________
6851. And in list items.footnote:[In list.]
687This 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