1<?xml version="1.0" encoding="UTF-8"?>
2<FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0" xmlns:l="http://www.w3.org/1999/xlink">
5<genre>unrecognised</genre>
7<first-name>John</first-name>
8<last-name>MacFarlane</last-name>
11<nickname>Anonymous</nickname>
13<book-title>Pandoc Test Suite</book-title>
14<date>July 17, 2006</date>
17<program-used>pandoc</program-used>
22<p>Pandoc Test Suite</p>
25<p>This is a set of tests for pandoc. Most of them are adapted from
26John Gruber’s markdown test suite.</p>
33<section id="level-2-with-an-embedded-link">
35<p>Level 2 with an <a l:href="/url">embedded link</a>
38<section id="level-3-with-emphasis">
40<p>Level 3 with <emphasis>emphasis</emphasis>
60<section id="level-2-with-emphasis">
62<p>Level 2 with <emphasis>emphasis</emphasis>
69<p>with no blank line</p>
76<p>with no blank line</p>
80<section id="paragraphs">
84<p>Here’s a regular paragraph.</p>
85<p>In Markdown 1.0.0 and earlier. Version
868. This line turns into a list item.
87Because a hard-wrapped line in the
88middle of a paragraph looked like a
90<p>Here’s one with a bullet.
92<p>There should be a hard line break
96<section id="block-quotes">
102<p>This is a block quote.
103It is pretty short.</p>
106<p>Code in a block quote:</p>
109<code>sub status {</code>
112<code> print "working";</code>
121<p>Nested block quotes:</p>
129<p>This should not be a block quote: 2
131<p>And a following paragraph.</p>
134<section id="code-blocks">
141<code>---- (should be four hyphens)</code>
148<code>sub status {</code>
151<code> print "working";</code>
161<code>this code block is indented by one tab</code>
167<code> this code block is indented by two tabs</code>
174<code>These should not be escaped: \$ \\ \> \[ \{</code>
183<section id="unordered">
187<p>Asterisks tight:</p>
191<p>Asterisks loose:</p>
221<section id="ordered">
233<p>Loose using tabs:</p>
240<p>and using spaces:</p>
247<p>Multiple paragraphs:</p>
248<p>1. Item 1, graf one.</p>
250<p> Item 1. graf two. The quick brown fox jumped over the lazy dog’s
265<p>Here’s another:</p>
272<p>Same thing but with paragraphs:</p>
283<section id="tabs-and-spaces">
285<p>Tabs and spaces</p>
287<p>• this is a list item
288indented with tabs</p>
290<p>• this is a list item
291indented with spaces</p>
293<p>• • this is an example list item
294indented with tabs</p>
296<p>• • this is an example list item
297indented with spaces</p>
300<section id="fancy-list-markers">
302<p>Fancy list markers</p>
304<p>(2) begins with 2</p>
308<p> with a continuation</p>
310<p>(3) iv. sublist with roman numerals,
312<p>(3) v. more items</p>
313<p>(3) v. (A) a subsublist</p>
314<p>(3) v. (B) a subsublist</p>
317<p>A. I. Upper Roman.</p>
318<p>A. I. (6) Decimal start with 6</p>
319<p>A. I. (6) c) Lower alpha with paren</p>
324<p>Should not be a list item:</p>
330<section id="definition-lists">
332<p>Definition Lists</p>
334<p>Tight using spaces:</p>
336<strong>apple</strong>
340<strong>orange</strong>
344<strong>banana</strong>
347<p>Tight using tabs:</p>
349<strong>apple</strong>
353<strong>orange</strong>
357<strong>banana</strong>
362<strong>apple</strong>
367<strong>orange</strong>
372<strong>banana</strong>
376<p>Multiple blocks with italics:</p>
379<emphasis>apple</emphasis>
385crisp, pleasant to taste</p>
389<emphasis>orange</emphasis>
396<code> { orange code block }</code>
400<p> orange block quote</p>
402<p>Multiple definitions, tight:</p>
404<strong>apple</strong>
409<strong>orange</strong>
413<p>Multiple definitions, loose:</p>
415<strong>apple</strong>
422<strong>orange</strong>
428<p>Blank line after term, indented marker, alternate markers:</p>
430<strong>apple</strong>
437<strong>orange</strong>
444<section id="html-blocks">
448<p>Simple block on one line:</p>foo<p>And nested without indentation:</p>
449<p>foo</p>bar<p>Interpreted markdown in a table:</p>This is <emphasis>emphasized</emphasis>And this is <strong>strong</strong>
450<p>Here’s a simple block:</p>
452<p>This should be a code block, though:</p>
455<code><div></code>
461<code></div></code>
464<p>As should this:</p>
467<code><div>foo</div></code>
470<p>Now, nested:</p>foo<p>This should just be an HTML comment:</p>
475<code><!-- Comment --></code>
478<p>Just plain comment, with trailing spaces on the line:</p>
482<code><hr /></code>
488<section id="inline-markup">
492<p>This is <emphasis>emphasized</emphasis>, and so <emphasis>is this</emphasis>.</p>
493<p>This is <strong>strong</strong>, and so <strong>is this</strong>.</p>
495<a l:href="/url">emphasized link</a>
499<emphasis>This is strong and em.</emphasis>
503<emphasis>this</emphasis>
507<emphasis>This is strong and em.</emphasis>
511<emphasis>this</emphasis>
513<p>This is code: <code>></code>, <code>$</code>, <code>\</code>, <code>\$</code>, <code><html></code>.</p>
515<strikethrough>This is <emphasis>strikeout</emphasis>.</strikethrough>
517<p>Superscripts: a<sup>bc</sup>d a<sup>
518<emphasis>hello</emphasis>
519</sup> a<sup>hello there</sup>.</p>
520<p>Subscripts: H<sub>2</sub>O, H<sub>23</sub>O, H<sub>many of them</sub>O.</p>
521<p>These should not be superscripts or subscripts,
522because of the unescaped spaces: a^b c^d, a~b c~d.</p>
525<section id="smart-quotes-ellipses-dashes">
527<p>Smart quotes, ellipses, dashes</p>
529<p>“Hello,” said the spider. “‘Shelob’ is my name.”</p>
530<p>‘A’, ‘B’, and ‘C’ are letters.</p>
531<p>‘Oak,’ ‘elm,’ and ‘beech’ are names of trees.
533<p>‘He said, “I want to go.”’ Were you alive in the
535<p>Here is some quoted ‘<code>code</code>’ and a “<a l:href="http://example.com/?foo=1&bar=2">quoted link</a>”.</p>
536<p>Some dashes: one—two — three—four — five.</p>
537<p>Dashes between numbers: 5–7, 255–66, 1987–1999.</p>
538<p>Ellipses…and…and….</p>
546<p>• <code>2+2=4</code>
548<p>• <code>x \in y</code>
550<p>• <code>\alpha \wedge \omega</code>
554<p>• <code>p</code>-Tree</p>
555<p>• Here’s some display math:
556<code>\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</code>
558<p>• Here’s one that has a line break in it: <code>\alpha + \omega \times x^2</code>.</p>
559<p>These shouldn’t be math:</p>
560<p>• To get the famous equation, write <code>$e = mc^2$</code>.</p>
561<p>• $22,000 is a <emphasis>lot</emphasis> of money. So is $34,000.
562(It worked if “lot” is emphasized.)</p>
563<p>• Shoes ($20) and socks ($5).</p>
564<p>• Escaped <code>$</code>: $73 <emphasis>this should be emphasized</emphasis> 23$.</p>
565<p>Here’s a LaTeX table:</p>
568<section id="special-characters">
570<p>Special Characters</p>
572<p>Here is some unicode:</p>
576<p>• set membership: ∈</p>
578<p>AT&T has an ampersand in their name.</p>
579<p>AT&T is another way to write it.</p>
580<p>This & that.</p>
589<p>Left bracket: [</p>
590<p>Right bracket: ]</p>
593<p>Greater-than: ></p>
605<section id="explicit">
609<p>Just a <a l:href="/url/">URL</a>.</p>
611<a l:href="/url/">URL and title</a>.</p>
613<a l:href="/url/">URL and title</a>.</p>
615<a l:href="/url/">URL and title</a>.</p>
617<a l:href="/url/">URL and title</a>
620<a l:href="/url/">URL and title</a>
623<a l:href="/url/with_underscore">with_underscore</a>
626<a l:href="mailto:nobody@nowhere.net">Email link</a>
629<a l:href="">Empty</a>.</p>
631<section id="reference">
635<p>Foo <a l:href="/url/">bar</a>.</p>
636<p>With <a l:href="/url/">embedded [brackets]</a>.</p>
638<a l:href="/url/">b</a> by itself should be a link.</p>
639<p>Indented <a l:href="/url">once</a>.</p>
640<p>Indented <a l:href="/url">twice</a>.</p>
641<p>Indented <a l:href="/url">thrice</a>.</p>
642<p>This should [not][] be a link.</p>
645<code>[not]: /url</code>
648<p>Foo <a l:href="/url/">bar</a>.</p>
649<p>Foo <a l:href="/url/">biz</a>.</p>
651<section id="with-ampersands">
653<p>With ampersands</p>
655<p>Here’s a <a l:href="http://example.com/?foo=1&bar=2">link with an ampersand in the URL</a>.</p>
656<p>Here’s a link with an amersand in the link text: <a l:href="http://att.com/">AT&T</a>.</p>
657<p>Here’s an <a l:href="/script?foo=1&bar=2">inline link</a>.</p>
658<p>Here’s an <a l:href="/script?foo=1&bar=2">inline link in pointy braces</a>.</p>
660<section id="autolinks">
664<p>With an ampersand: <a l:href="http://example.com/?foo=1&bar=2">http://example.com/?foo=1&bar=2</a>
667<p>• <a l:href="http://example.com/">http://example.com/</a>
670<p>An e-mail address: <a l:href="mailto:nobody@nowhere.net">nobody@nowhere.net</a>
673<p>Blockquoted: <a l:href="http://example.com/">http://example.com/</a>
676<p>Auto-links should not occur here: <code><http://example.com/></code>
680<code>or here: <http://example.com/></code>
690<p>From “Voyage dans la Lune” by Georges Melies (1902):</p>
691<image l:href="#image1" l:type="imageType" alt="lalune" title="Voyage dans la Lune" />
692<p>Here is a movie <image l:href="#image2" l:type="inlineImageType" alt="movie" /> icon.</p>
695<section id="footnotes">
699<p>Here is a footnote reference,<a l:href="#n1" type="note">
701</a> and another.<a l:href="#n2" type="note">
704This should <emphasis>not</emphasis> be a footnote reference, because it
705contains a space.[^my note] Here is an inline note.<a l:href="#n3" type="note">
710<p>Notes can go in quotes.<a l:href="#n4" type="note">
715<p>1. And in list items.<a l:href="#n5" type="note">
719<p>This paragraph should not be part of the note, as it is not indented.</p>
727<p>Here is the footnote. It can go anywhere after the footnote
728reference. It need not be placed at the end of the document.</p>
734<p>Here’s the long note. This one contains multiple
736<p>Subsequent blocks are indented to show that they belong to the
737footnote (as with list items).</p>
740<code> { <code> }</code>
743<p>If you want, you can indent every line, but you can also be
744lazy and just indent the first line of each block.</p>
751is <emphasis>easier</emphasis> to type. Inline notes may contain
752<a l:href="http://google.com">links</a> and <code>]</code> verbatim characters,
753as well as [bracketed text].</p>
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