1#+TITLE: Pandoc Test Suite
3#+AUTHOR: John MacFarlane; Anonymous
6This is a set of tests for pandoc. Most of them are adapted from John Gruber's
13** Level 2 with an [[/url][embedded link]]
15*** Level 3 with /emphasis/
23** Level 2 with /emphasis/
37Here's a regular paragraph.
39In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item.
40Because a hard-wrapped line in the middle of a paragraph looked like a list
43Here's one with a bullet. * criminey.
45There should be a hard line break\\
55 This is a block quote. It is pretty short.
59 Code in a block quote:
83This should not be a block quote: 2 > 1.
85And a following paragraph.
94 ---- (should be four hyphens)
100 this code block is indented by one tab
106 this code block is indented by two tabs
108 These should not be escaped: \$ \\ \> \[ \{
193 Item 1. graf two. The quick brown fox jumped over the lazy dog's back.
218Same thing but with paragraphs:
232- this is a list item indented with tabs
234- this is a list item indented with spaces
236 - this is an example list item indented with tabs
238 - this is an example list item indented with spaces
247 4. sublist with roman numerals, starting with 4
259 6) Decimal start with 6
261 3) Lower alpha with paren
270Should not be a list item:
283- orange :: orange fruit
284- banana :: yellow fruit
289- orange :: orange fruit
290- banana :: yellow fruit
296- orange :: orange fruit
298- banana :: yellow fruit
300Multiple blocks with italics:
302- /apple/ :: red fruit
304 contains seeds, crisp, pleasant to taste
306- /orange/ :: orange fruit
309 { orange code block }
316Multiple definitions, tight:
320- orange :: orange fruit
323Multiple definitions, loose:
329- orange :: orange fruit
333Blank line after term, indented marker, alternate markers:
339- orange :: orange fruit
346Simple block on one line:
358And nested without indentation:
396Interpreted markdown in a table:
435 <script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
438Here's a simple block:
450This should be a code block, though:
492This should just be an HTML comment:
509 This is another comment.
519Just plain comment, with trailing spaces on the line:
558 <hr class="foo" id="bar" />
562 <hr class="foo" id="bar" />
566 <hr class="foo" id="bar">
573This is /emphasized/, and so /is this/.
575This is *strong*, and so *is this*.
577An /[[/url][emphasized link]]/.
579*/This is strong and em./*
583*/This is strong and em./*
587This is code: =>=, =$=, =\=, =\$=, =<html>=.
589+This is /strikeout/.+
591Superscripts: a^{bc}d a^{/hello/} a^{hello there}.
593Subscripts: H_{2}O, H_{23}O, H_{many of them}O.
595These should not be superscripts or subscripts, because of the unescaped
596spaces: a\^b c\^d, a~b c~d.
600* Smart quotes, ellipses, dashes
602"Hello," said the spider. "'Shelob' is my name."
604'A', 'B', and 'C' are letters.
606'Oak,' 'elm,' and 'beech' are names of trees. So is 'pine.'
608'He said, "I want to go."' Were you alive in the 70's?
610Here is some quoted '=code=' and a "[[http://example.com/?foo=1&bar=2][quoted
613Some dashes: one---two --- three---four --- five.
615Dashes between numbers: 5--7, 255--66, 1987--1999.
617Ellipses...and...and....
623- \cite[22-23]{smith.1899}
626- $\alpha \wedge \omega$
629- Here's some display math:
630 $$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$
631- Here's one that has a line break in it: $\alpha + \omega \times x^2$.
633These shouldn't be math:
635- To get the famous equation, write =$e = mc^2$=.
636- $22,000 is a /lot/ of money. So is $34,000. (It worked if "lot" is
638- Shoes ($20) and socks ($5).
639- Escaped =$=: $73 /this should be emphasized/ 23$.
643\begin{tabular}{|l|l|}\hline
644Animal & Number \\ \hline
661AT&T has an ampersand in their name.
663AT&T is another way to write it.
709Just a [[/url/][URL]].
711[[/url/][URL and title]].
713[[/url/][URL and title]].
715[[/url/][URL and title]].
717[[/url/][URL and title]]
719[[/url/][URL and title]]
721[[/url/with_underscore][with\_underscore]]
723[[mailto:nobody@nowhere.net][Email link]]
735With [[/url/][embedded [brackets]]].
737[[/url/][b]] by itself should be a link.
739Indented [[/url][once]].
741Indented [[/url][twice]].
743Indented [[/url][thrice]].
745This should [not][] be a link.
757Here's a [[http://example.com/?foo=1&bar=2][link with an ampersand in the
760Here's a link with an amersand in the link text: [[http://att.com/][AT&T]].
762Here's an [[/script?foo=1&bar=2][inline link]].
764Here's an [[/script?foo=1&bar=2][inline link in pointy braces]].
768With an ampersand: [[http://example.com/?foo=1&bar=2]]
771- [[http://example.com/]]
774An e-mail address: [[mailto:nobody@nowhere.net][nobody@nowhere.net]]
777 Blockquoted: [[http://example.com/]]
780Auto-links should not occur here: =<http://example.com/>=
783 or here: <http://example.com/>
790From "Voyage dans la Lune" by Georges Melies (1902):
795Here is a movie [[movie.jpg]] icon.
801Here is a footnote reference, [1] and another. [2] This should /not/ be a
802footnote reference, because it contains a space.[\^my note] Here is an inline
806 Notes can go in quotes. [4]
8091. And in list items. [5]
811This paragraph should not be part of the note, as it is not indented.
813[1] Here is the footnote. It can go anywhere after the footnote reference. It
814 need not be placed at the end of the document.
816[2] Here's the long note. This one contains multiple blocks.
818 Subsequent blocks are indented to show that they belong to the footnote
819 (as with list items).
825 If you want, you can indent every line, but you can also be lazy and just
826 indent the first line of each block.
828[3] This is /easier/ to type. Inline notes may contain
829 [[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