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>
35<p>Level 2 with an <a l:href="/url">embedded link</a>
40<p>Level 3 with <emphasis>emphasis</emphasis>
62<p>Level 2 with <emphasis>emphasis</emphasis>
69<p>with no blank line</p>
76<p>with no blank line</p>
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
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>
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>
187<p>Asterisks tight:</p>
191<p>Asterisks loose:</p>
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>
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>
302<p>Fancy list markers</p>
304<p>(2) begins with 2</p>
307<p> with a continuation</p>
309<p>(3) iv. sublist with roman numerals,
311<p>(3) v. more items</p>
312<p>(3) v. (A) a subsublist</p>
313<p>(3) v. (B) a subsublist</p>
316<p>A. I. Upper Roman.</p>
317<p>A. I. (6) Decimal start with 6</p>
318<p>A. I. (6) c) Lower alpha with paren</p>
323<p>Should not be a list item:</p>
331<p>Definition Lists</p>
333<p>Tight using spaces:</p>
335<strong>apple</strong>
339<strong>orange</strong>
343<strong>banana</strong>
346<p>Tight using tabs:</p>
348<strong>apple</strong>
352<strong>orange</strong>
356<strong>banana</strong>
361<strong>apple</strong>
366<strong>orange</strong>
371<strong>banana</strong>
375<p>Multiple blocks with italics:</p>
378<emphasis>apple</emphasis>
384crisp, pleasant to taste</p>
388<emphasis>orange</emphasis>
395<code> { orange code block }</code>
399<p> orange block quote</p>
401<p>Multiple definitions, tight:</p>
403<strong>apple</strong>
408<strong>orange</strong>
412<p>Multiple definitions, loose:</p>
414<strong>apple</strong>
421<strong>orange</strong>
427<p>Blank line after term, indented marker, alternate markers:</p>
429<strong>apple</strong>
436<strong>orange</strong>
447<p>Simple block on one line:</p>foo<p>And nested without indentation:</p>
448<p>foo</p>bar<p>Interpreted markdown in a table:</p>This is <emphasis>emphasized</emphasis>And this is <strong>strong</strong>
449<p>Here’s a simple block:</p>
451<p>This should be a code block, though:</p>
454<code><div></code>
460<code></div></code>
463<p>As should this:</p>
466<code><div>foo</div></code>
469<p>Now, nested:</p>foo<p>This should just be an HTML comment:</p>
474<code><!-- Comment --></code>
477<p>Just plain comment, with trailing spaces on the line:</p>
481<code><hr /></code>
491<p>This is <emphasis>emphasized</emphasis>, and so <emphasis>is this</emphasis>.</p>
492<p>This is <strong>strong</strong>, and so <strong>is this</strong>.</p>
494<a l:href="/url">emphasized link</a>
498<emphasis>This is strong and em.</emphasis>
502<emphasis>this</emphasis>
506<emphasis>This is strong and em.</emphasis>
510<emphasis>this</emphasis>
512<p>This is code: <code>></code>, <code>$</code>, <code>\</code>, <code>\$</code>, <code><html></code>.</p>
514<strikethrough>This is <emphasis>strikeout</emphasis>.</strikethrough>
516<p>Superscripts: a<sup>bc</sup>d a<sup>
517<emphasis>hello</emphasis>
518</sup> a<sup>hello there</sup>.</p>
519<p>Subscripts: H<sub>2</sub>O, H<sub>23</sub>O, H<sub>many of them</sub>O.</p>
520<p>These should not be superscripts or subscripts,
521because of the unescaped spaces: a^b c^d, a~b c~d.</p>
526<p>Smart quotes, ellipses, dashes</p>
528<p>“Hello,” said the spider. “‘Shelob’ is my name.”</p>
529<p>‘A’, ‘B’, and ‘C’ are letters.</p>
530<p>‘Oak,’ ‘elm,’ and ‘beech’ are names of trees.
532<p>‘He said, “I want to go.”’ Were you alive in the
534<p>Here is some quoted ‘<code>code</code>’ and a “<a l:href="http://example.com/?foo=1&bar=2">quoted link</a>”.</p>
535<p>Some dashes: one—two — three—four — five.</p>
536<p>Dashes between numbers: 5–7, 255–66, 1987–1999.</p>
537<p>Ellipses…and…and….</p>
545<p>• <code>2+2=4</code>
547<p>• <code>x \in y</code>
549<p>• <code>\alpha \wedge \omega</code>
553<p>• <code>p</code>-Tree</p>
554<p>• Here’s some display math:
555<code>\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</code>
557<p>• Here’s one that has a line break in it: <code>\alpha + \omega \times x^2</code>.</p>
558<p>These shouldn’t be math:</p>
559<p>• To get the famous equation, write <code>$e = mc^2$</code>.</p>
560<p>• $22,000 is a <emphasis>lot</emphasis> of money. So is $34,000.
561(It worked if “lot” is emphasized.)</p>
562<p>• Shoes ($20) and socks ($5).</p>
563<p>• Escaped <code>$</code>: $73 <emphasis>this should be emphasized</emphasis> 23$.</p>
564<p>Here’s a LaTeX table:</p>
569<p>Special Characters</p>
571<p>Here is some unicode:</p>
575<p>• set membership: ∈</p>
577<p>AT&T has an ampersand in their name.</p>
578<p>AT&T is another way to write it.</p>
579<p>This & that.</p>
588<p>Left bracket: [</p>
589<p>Right bracket: ]</p>
592<p>Greater-than: ></p>
608<p>Just a <a l:href="/url/">URL</a>.</p>
610<a l:href="/url/">URL and title</a>.</p>
612<a l:href="/url/">URL and title</a>.</p>
614<a l:href="/url/">URL and title</a>.</p>
616<a l:href="/url/">URL and title</a>
619<a l:href="/url/">URL and title</a>
622<a l:href="/url/with_underscore">with_underscore</a>
625<a l:href="mailto:nobody@nowhere.net">Email link</a>
628<a l:href="">Empty</a>.</p>
634<p>Foo <a l:href="/url/">bar</a>.</p>
635<p>With <a l:href="/url/">embedded [brackets]</a>.</p>
637<a l:href="/url/">b</a> by itself should be a link.</p>
638<p>Indented <a l:href="/url">once</a>.</p>
639<p>Indented <a l:href="/url">twice</a>.</p>
640<p>Indented <a l:href="/url">thrice</a>.</p>
641<p>This should [not][] be a link.</p>
644<code>[not]: /url</code>
647<p>Foo <a l:href="/url/">bar</a>.</p>
648<p>Foo <a l:href="/url/">biz</a>.</p>
652<p>With ampersands</p>
654<p>Here’s a <a l:href="http://example.com/?foo=1&bar=2">link with an ampersand in the URL</a>.</p>
655<p>Here’s a link with an amersand in the link text: <a l:href="http://att.com/">AT&T</a>.</p>
656<p>Here’s an <a l:href="/script?foo=1&bar=2">inline link</a>.</p>
657<p>Here’s an <a l:href="/script?foo=1&bar=2">inline link in pointy braces</a>.</p>
663<p>With an ampersand: <a l:href="http://example.com/?foo=1&bar=2">http://example.com/?foo=1&bar=2</a>
666<p>• <a l:href="http://example.com/">http://example.com/</a>
669<p>An e-mail address: <a l:href="mailto:nobody@nowhere.net">nobody@nowhere.net</a>
672<p>Blockquoted: <a l:href="http://example.com/">http://example.com/</a>
675<p>Auto-links should not occur here: <code><http://example.com/></code>
679<code>or here: <http://example.com/></code>
689<p>From “Voyage dans la Lune” by Georges Melies (1902):</p>
690<image l:href="#image1" l:type="imageType" alt="lalune" title="Voyage dans la Lune" />
691<p>Here is a movie <image l:href="#image2" l:type="inlineImageType" alt="movie" /> icon.</p>
698<p>Here is a footnote reference,<a l:href="#n1" type="note">
700</a> and another.<a l:href="#n2" type="note">
703This should <emphasis>not</emphasis> be a footnote reference, because it
704contains a space.[^my note] Here is an inline note.<a l:href="#n3" type="note">
709<p>Notes can go in quotes.<a l:href="#n4" type="note">
714<p>1. And in list items.<a l:href="#n5" type="note">
718<p>This paragraph should not be part of the note, as it is not indented.</p>
726<p>Here is the footnote. It can go anywhere after the footnote
727reference. It need not be placed at the end of the document.</p>
733<p>Here’s the long note. This one contains multiple
735<p>Subsequent blocks are indented to show that they belong to the
736footnote (as with list items).</p>
739<code> { <code> }</code>
742<p>If you want, you can indent every line, but you can also be
743lazy and just indent the first line of each block.</p>
750is <emphasis>easier</emphasis> to type. Inline notes may contain
751<a l:href="http://google.com">links</a> and <code>]</code> verbatim characters,
752as 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