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:
381Interpreted markdown in a table:
403 <script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
406Here's a simple block:
419This should be a code block, though:
450This should just be an HTML comment:
465 This is another comment.
475Just plain comment, with trailing spaces on the line:
502 <hr class="foo" id="bar" />
504 <hr class="foo" id="bar" />
506 <hr class="foo" id="bar">
513This is /emphasized/, and so /is this/.
515This is *strong*, and so *is this*.
517An /[[/url][emphasized link]]/.
519*/This is strong and em./*
523*/This is strong and em./*
527This is code: =>=, =$=, =\=, =\$=, =<html>=.
529+This is /strikeout/.+
531Superscripts: a^{bc}d a^{/hello/} a^{hello there}.
533Subscripts: H_{2}O, H_{23}O, H_{many of them}O.
535These should not be superscripts or subscripts, because of the unescaped
536spaces: a\^b c\^d, a~b c~d.
540* Smart quotes, ellipses, dashes
542"Hello," said the spider. "'Shelob' is my name."
544'A', 'B', and 'C' are letters.
546'Oak,' 'elm,' and 'beech' are names of trees. So is 'pine.'
548'He said, "I want to go."' Were you alive in the 70's?
550Here is some quoted '=code=' and a "[[http://example.com/?foo=1&bar=2][quoted
553Some dashes: one---two --- three---four --- five.
555Dashes between numbers: 5--7, 255--66, 1987--1999.
557Ellipses...and...and....
563- \cite[22-23]{smith.1899}
566- $\alpha \wedge \omega$
569- Here's some display math:
570 $$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$
571- Here's one that has a line break in it: $\alpha + \omega \times x^2$.
573These shouldn't be math:
575- To get the famous equation, write =$e = mc^2$=.
576- $22,000 is a /lot/ of money. So is $34,000. (It worked if "lot" is
578- Shoes ($20) and socks ($5).
579- Escaped =$=: $73 /this should be emphasized/ 23$.
583\begin{tabular}{|l|l|}\hline
584Animal & Number \\ \hline
601AT&T has an ampersand in their name.
603AT&T is another way to write it.
649Just a [[/url/][URL]].
651[[/url/][URL and title]].
653[[/url/][URL and title]].
655[[/url/][URL and title]].
657[[/url/][URL and title]]
659[[/url/][URL and title]]
661[[/url/with_underscore][with\_underscore]]
663[[mailto:nobody@nowhere.net][Email link]]
675With [[/url/][embedded [brackets]]].
677[[/url/][b]] by itself should be a link.
679Indented [[/url][once]].
681Indented [[/url][twice]].
683Indented [[/url][thrice]].
685This should [not][] be a link.
697Here's a [[http://example.com/?foo=1&bar=2][link with an ampersand in the
700Here's a link with an amersand in the link text: [[http://att.com/][AT&T]].
702Here's an [[/script?foo=1&bar=2][inline link]].
704Here's an [[/script?foo=1&bar=2][inline link in pointy braces]].
708With an ampersand: [[http://example.com/?foo=1&bar=2]]
711- [[http://example.com/]]
714An e-mail address: [[mailto:nobody@nowhere.net][nobody@nowhere.net]]
717 Blockquoted: [[http://example.com/]]
720Auto-links should not occur here: =<http://example.com/>=
723 or here: <http://example.com/>
730From "Voyage dans la Lune" by Georges Melies (1902):
735Here is a movie [[movie.jpg]] icon.
741Here is a footnote reference, [1] and another. [2] This should /not/ be a
742footnote reference, because it contains a space.[\^my note] Here is an inline
746 Notes can go in quotes. [4]
7491. And in list items. [5]
751This paragraph should not be part of the note, as it is not indented.
753[1] Here is the footnote. It can go anywhere after the footnote reference. It
754 need not be placed at the end of the document.
756[2] Here's the long note. This one contains multiple blocks.
758 Subsequent blocks are indented to show that they belong to the footnote
759 (as with list items).
765 If you want, you can indent every line, but you can also be lazy and just
766 indent the first line of each block.
768[3] This is /easier/ to type. Inline notes may contain
769 [[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