3John MacFarlane; Anonymous
6This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
15[[level-2-with-an-embedded-link]]
16Level 2 with an link:/url[embedded link]
17~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19[[level-3-with-emphasis]]
20Level 3 with _emphasis_
21^^^^^^^^^^^^^^^^^^^^^^^
34[[level-2-with-emphasis]]
35Level 2 with _emphasis_
36~~~~~~~~~~~~~~~~~~~~~~~
56Here’s a regular paragraph.
58In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
59Because a hard-wrapped line in the middle of a paragraph looked like a list
62Here’s one with a bullet. * criminey.
64There should be a hard line break +
75__________________________________________
76This is a block quote. It is pretty short.
77__________________________________________
105______________________
107This should not be a block quote: 2 > 1.
109And a following paragraph.
120---- (should be four hyphens)
126this code block is indented by one tab
132 this code block is indented by two tabs
134These should not be escaped: \$ \\ \> \[ \{
215Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.
236Same thing but with paragraphs:
249* this is a list item indented with tabs
250* this is a list item indented with spaces
251** this is an example list item indented with tabs
252** this is an example list item indented with spaces
254[[fancy-list-markers]]
262a. sublist with roman numerals, starting with 4
2711. Decimal start with 6
272a. Lower alpha with paren
280Should not be a list item:
319Multiple blocks with italics:
324 contains seeds, crisp, pleasant to taste
336Multiple definitions, tight:
347Multiple definitions, loose:
358Blank line after term, indented marker, alternate markers:
374Simple block on one line:
378And nested without indentation:
384Interpreted markdown in a table:
390Here’s a simple block:
394This should be a code block, though:
412This should just be an HTML comment:
422Just plain comment, with trailing spaces on the line:
438This is _emphasized_, and so _is this_.
440This is *strong*, and so *is this*.
442An _link:/url[emphasized link]_.
444*_This is strong and em._*
448*_This is strong and em._*
452This is code: `>`, `$`, `\`, `\$`, `<html>`.
454[line-through]*This is _strikeout_.*
456Superscripts: a^bc^d a^_hello_^ a^hello there^.
458Subscripts: H~2~O, H~23~O, H~many of them~O.
460These should not be superscripts or subscripts, because of the unescaped
461spaces: a^b c^d, a~b c~d.
465[[smart-quotes-ellipses-dashes]]
466Smart quotes, ellipses, dashes
467------------------------------
469``Hello,'' said the spider. ```Shelob' is my name.''
471`A', `B', and `C' are letters.
473`Oak,' `elm,' and `beech' are names of trees. So is `pine.'
475`He said, ``I want to go.''' Were you alive in the 70’s?
477Here is some quoted ``code`' and a ``http://example.com/?foo=1&bar=2[quoted
480Some dashes: one—two — three—four — five.
482Dashes between numbers: 5–7, 255–66, 1987–1999.
494* latexmath:[$x \in y$]
495* latexmath:[$\alpha \wedge \omega$]
497* latexmath:[$p$]-Tree
498* Here’s some display math:
499latexmath:[\[\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\]]
500* Here’s one that has a line break in it:
501latexmath:[$\alpha + \omega \times x^2$].
503These shouldn’t be math:
505* To get the famous equation, write `$e = mc^2$`.
506* $22,000 is a _lot_ of money. So is $34,000. (It worked if ``lot'' is
508* Shoes ($20) and socks ($5).
509* Escaped `$`: $73 _this should be emphasized_ 23$.
515[[special-characters]]
527AT&T has an ampersand in their name.
529AT&T is another way to write it.
579Just a link:/url/[URL].
581link:/url/[URL and title].
583link:/url/[URL and title].
585link:/url/[URL and title].
587link:/url/[URL and title]
589link:/url/[URL and title]
591link:/url/with_underscore[with_underscore]
593mailto:nobody@nowhere.net[Email link]
603With link:/url/[embedded [brackets]].
605link:/url/[b] by itself should be a link.
607Indented link:/url[once].
609Indented link:/url[twice].
611Indented link:/url[thrice].
613This should [not][] be a link.
627Here’s a http://example.com/?foo=1&bar=2[link with an ampersand in the URL].
629Here’s a link with an amersand in the link text: http://att.com/[AT&T].
631Here’s an link:/script?foo=1&bar=2[inline link].
633Here’s an link:/script?foo=1&bar=2[inline link in pointy braces].
639With an ampersand: http://example.com/?foo=1&bar=2
645An e-mail address: nobody@nowhere.net
647________________________________
648Blockquoted: http://example.com/
649________________________________
651Auto-links should not occur here: `<http://example.com/>`
654or here: <http://example.com/>
663From ``Voyage dans la Lune'' by Georges Melies (1902):
665image:lalune.jpg[lalune,title="Voyage dans la Lune"]
667Here is a movie image:movie.jpg[movie] icon.
675Here is a footnote reference,footnote:[Here is the footnote. It can go
676anywhere after the footnote reference. It need not be placed at the end of the
677document.] and another.[multiblock footnote omitted] This should _not_ be a
678footnote reference, because it contains a space.[^my note] Here is an inline
679note.footnote:[This is _easier_ to type. Inline notes may contain
680http://google.com[links] and `]` verbatim characters, as well as [bracketed
683___________________________________________
684Notes can go in quotes.footnote:[In quote.]
685___________________________________________
6871. And in list items.footnote:[In list.]
689This 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