1This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
4______________________________________________________________________________
9== Level 2 with an </url embedded link>
10#level-2-with-an-embedded-link#
12=== Level 3 with /emphasis/
13#level-3-with-emphasis#
24== Level 2 with /emphasis/
25#level-2-with-emphasis#
37______________________________________________________________________________
42Here’s a regular paragraph.
44In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
45Because a hard-wrapped line in the middle of a paragraph looked like a list
48Here’s one with a bullet. * criminey.
50There should be a hard line break
53______________________________________________________________________________
60This is a block quote. It is pretty short.
79This should not be a block quote: 2 > 1.
81And a following paragraph.
83______________________________________________________________________________
90> ---- (should be four hyphens)
96> this code block is indented by one tab
100> this code block is indented by two tabs
102> These should not be escaped: \$ \\ \> \[ \{
104______________________________________________________________________________
189 Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.
212Same thing but with paragraphs:
227- this is a list item indented with tabs
229- this is a list item indented with spaces
231 - this is an example list item indented with tabs
233 - this is an example list item indented with spaces
244 4. sublist with roman numerals, starting with 4
253 (6) Decimal start with 6
254 3) Lower alpha with paren
262Should not be a list item:
268______________________________________________________________________________
302Multiple blocks with italics:
307 contains seeds, crisp, pleasant to taste
312 > { orange code block }
316Multiple definitions, tight:
325Multiple definitions, loose:
337Blank line after term, indented marker, alternate markers:
353Simple block on one line:
357And nested without indentation:
363Interpreted markdown in a table:
366And this is __strong__
367Here’s a simple block:
371This should be a code block, though:
385This should just be an HTML comment:
393Just plain comment, with trailing spaces on the line:
401______________________________________________________________________________
406This is /emphasized/, and so /is this/.
408This is __strong__, and so __is this__.
410An /</url emphasized link>/.
412__/This is strong and em./__
414So is __/this/__ word.
416__/This is strong and em./__
418So is __/this/__ word.
420This is code: @>@, @$@, @\\@, @\\$@, @\<html>@.
422~~This is /strikeout/.~~
424Superscripts: abcd a/hello/ ahello there.
426Subscripts: H2O, H23O, Hmany of themO.
428These should not be superscripts or subscripts, because of the unescaped
429spaces: a^b c^d, a~b c~d.
431______________________________________________________________________________
433= Smart quotes, ellipses, dashes
434#smart-quotes-ellipses-dashes#
436“Hello,” said the spider. “‘Shelob’ is my name.”
438‘A’, ‘B’, and ‘C’ are letters.
440‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’
442‘He said, “I want to go.”’ Were you alive in the 70’s?
444Here is some quoted ‘@code@’ and a
445“<http://example.com/?foo=1&bar=2 quoted link>”.
447Some dashes: one—two — three—four — five.
449Dashes between numbers: 5–7, 255–66, 1987–1999.
453______________________________________________________________________________
461- \(\alpha \wedge \omega\)
464- Here’s some display math:
465 \[\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\]
466- Here’s one that has a line break in it: \(\alpha + \omega \times x^2\).
468These shouldn’t be math:
470- To get the famous equation, write @$e = mc^2$@.
471- $22,000 is a /lot/ of money. So is $34,000. (It worked if “lot” is
473- Shoes ($20) and socks ($5).
474- Escaped @$@: $73 /this should be emphasized/ 23$.
478______________________________________________________________________________
491AT&T has an ampersand in their name.
493AT&T is another way to write it.
533______________________________________________________________________________
543</url/ URL and title>.
545</url/ URL and title>.
547</url/ URL and title>.
553</url/with_underscore with_underscore>
555<mailto:nobody@nowhere.net Email link>
564With </url/ embedded [brackets]>.
566</url/ b> by itself should be a link.
570Indented </url twice>.
572Indented </url thrice>.
574This should [not][] be a link.
585Here’s a <http://example.com/?foo=1&bar=2 link with an ampersand in the URL>.
587Here’s a link with an amersand in the link text: <http://att.com/ AT&T>.
589Here’s an </script?foo=1&bar=2 inline link>.
591Here’s an </script?foo=1&bar=2 inline link in pointy braces>.
596With an ampersand: <http://example.com/?foo=1&bar=2>
599- <http://example.com/>
602An e-mail address: <mailto:nobody@nowhere.net nobody\@nowhere.net>
604Blockquoted: <http://example.com/>
606Auto-links should not occur here: @\<http:\/\/example.com\/>@
608> or here: <http://example.com/>
610______________________________________________________________________________
615From “Voyage dans la Lune” by Georges Melies (1902):
619Here is a movie <<movie.jpg movie>> icon.
621______________________________________________________________________________
626Here is a footnote reference,<#notes [1]> and another.<#notes [2]> This should
627/not/ be a footnote reference, because it contains a space.[^my note] Here is
628an inline note.<#notes [3]>
630Notes can go in quotes.<#notes [4]>
6321. And in list items.<#notes [5]>
634This paragraph should not be part of the note, as it is not indented.
6381. Here is the footnote. It can go anywhere after the footnote reference. It
639 need not be placed at the end of the document.
6412. Here’s the long note. This one contains multiple blocks.
643 Subsequent blocks are indented to show that they belong to the footnote
644 (as with list items).
648 If you want, you can indent every line, but you can also be lazy and just
649 indent the first line of each block.
6513. This is /easier/ to type. Inline notes may contain
652 <http://google.com links> and @]@ verbatim characters, as well as
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