3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
4<meta http-equiv="Content-Style-Type" content="text/css" />
5<meta name="generator" content="pandoc" />
7div.pandocNote { border-left: 1px solid grey; padding-left: 1em; }
8span.pandocNoteRef { vertical-align: super; font-size: 80%; }
9span.pandocNoteMarker { }
11<title>Pandoc Test Suite</title>
14<h1 class="title">Pandoc Test Suite</h1>
15<p>This is a set of tests for pandoc. Most of them are adapted from John Gruber's markdown test suite.</p>
18<h2>Level 2 with an <a href="/url">embedded link</a></h2>
19<h3>Level 3 with <em>emphasis</em></h3>
23<h2>Level 2 with <em>emphasis</em></h2>
25<p>with no blank line</p>
27<p>with no blank line</p>
30<p>Here's a regular paragraph.</p>
31<p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item.</p>
32<p>Here's one with a bullet. * criminey.</p>
33<p>There should be a hard line break<br />
39<p>This is a block quote. It is pretty short.</p>
42<p>Code in a block quote:</p>
43<pre><code>sub status {
52<p>Nested block quotes:</p>
60<p>This should not be a block quote: 2 > 1.</p>
64<pre><code>sub status {
72<li>take out the trash</li>
75<p>Here's a nested one:</p>
82<p>And a following paragraph.</p>
85<p>Normal text but then a <q cite="https://www.imdb.com/title/tt0062622/quotes/qt0396921">inline quote</q>.</p>
86<p><q>Missing a cite attribute means its just normal text</q></p>
90<pre><code>---- (should be four hyphens)
96this code block is indented by one tab
99<pre><code> this code block is indented by two tabs
101These should not be escaped: \$ \\ \> \[ \{
106<p>Asterisks tight:</p>
112<p>Asterisks loose:</p>
164<p>Loose using tabs:</p>
173<p>and using spaces:</p>
182<p>Multiple paragraphs:</p>
184<li><p>Item 1, graf one.</p>
185<p>Item 1. graf two. The quick brown fox jumped over the lazy dog's back.</p>
195<ol class="lower-roman"></ol>
196<ol style="lower-roman"></ol>
197<ol style="list-style: lower-roman;"></ol>
198<ol style="list-style-type: lower-roman;"></ol>
209<p>Here's another:</p>
220<p>Same thing but with paragraphs:</p>
234<h2>Tabs and spaces</h2>
236<li><p>this is a list item indented with tabs</p>
238<li><p>this is a list item indented with spaces</p>
240<li><p>this is an example list item indented with tabs</p>
242<li><p>this is an example list item indented with spaces</p>
247<h2 id="fancy-list-markers"
248 >Fancy list markers</h2
249 ><ol start="2" class="decimal"
256 >with a continuation</p
257 ><ol start="4" class="lower-roman"
259 >sublist with roman numerals, starting with 4</li
261 >more items<ol class="upper-alpha"
275 >Upper Alpha<ol class="upper-roman"
277 >Upper Roman.<ol start="6" class="decimal"
279 >Decimal start with 6<ol start="3" type="a"
281 >Lower alpha with paren</li
306 <dd>Stringed musical instrument.</dd>
307 <dd>Torture device.</dd>
310 <dd>Low-voiced stringed instrument.</dd>
313<h1>Inline Markup</h1>
314<p>This is <em>emphasized</em>, and so <em>is this</em>.</p>
315<p>This is <strong>strong</strong>, and so <strong>is this</strong>.</p>
316<p>Empty <strong></strong> and <em></em>.
317<p>An <em><a href="/url">emphasized link</a></em>.</p>
318<p><strong><em>This is strong and em.</em></strong></p>
319<p>So is <strong><em>this</em></strong> word.</p>
320<p><strong><em>This is strong and em.</em></strong></p>
321<p>So is <strong><em>this</em></strong> word.</p>
322<p>This is code: <code>></code>, <code>$</code>, <code>\</code>, <code>\$</code>, <code><html></code>.</p>
323<p>This is <span style="font-variant: small-caps;">small caps</span>.</p>
324<p>These are all underlined: <u>foo</u> and <ins>bar</ins>.</p>
325<p>These are all strikethrough: <s>foo</s>, <strike>bar</strike>, and <del>baz</del>.</p>
327<h1>Smart quotes, ellipses, dashes</h1>
328<p>"Hello," said the spider. "'Shelob' is my name."</p>
329<p>'A', 'B', and 'C' are letters.</p>
330<p>'Oak,' 'elm,' and 'beech' are names of trees. So is 'pine.'</p>
331<p>'He said, "I want to go."' Were you alive in the 70's?</p>
332<p>Here is some quoted '<code>code</code>' and a "<a href="http://example.com/?foo=1&bar=2">quoted link</a>".</p>
333<p>Some dashes: one---two --- three--four -- five.</p>
334<p>Dashes between numbers: 5-7, 255-66, 1987-1999.</p>
335<p>Ellipses...and. . .and . . . .</p>
339<li>\cite[22-23]{smith.1899}</li>
340<li>\doublespacing</li>
343<li>$\alpha \wedge \omega$</li>
346<li>$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</li>
347<li>Here's one that has a line break in it: $\alpha + \omega \times x^2$.</li>
349<p>These shouldn't be math:</p>
351<li>To get the famous equation, write <code>$e = mc^2$</code>.</li>
352<li>$22,000 is a <em>lot</em> of money. So is $34,000. (It worked if "lot" is emphasized.)</li>
353<li>Escaped <code>$</code>: $73 <em>this should be emphasized</em> 23$.</li>
355<p>Here's a LaTeX table:</p>
356<p>\begin{tabular}{|l|l|}\hline Animal & Number \\ \hline Dog & 2 \\ Cat & 1 \\ \hline \end{tabular}</p>
358<h1>Special Characters</h1>
359<p>Here is some unicode:</p>
364<li>set membership: ∈</li>
367<p>AT&T has an ampersand in their name.</p>
368<p>AT&T is another way to write it.</p>
369<p>This & that.</p>
378<p>Left bracket: [</p>
379<p>Right bracket: ]</p>
382<p>Greater-than: ></p>
391<p>Just a <a href="/url/">URL</a>.</p>
392<p><a href="/url/" title="title">URL and title</a>.</p>
393<p><a href="/url/" title="title preceded by two spaces">URL and title</a>.</p>
394<p><a href="/url/" title="title preceded by a tab">URL and title</a>.</p>
395<p><a href="/url/" title="title with "quotes" in it">URL and title</a></p>
396<p><a href="/url/" title="title with single quotes">URL and title</a></p>
397Email link (nobody [at] nowhere.net)<p><a href="">Empty</a>.</p>
399<p>Foo <a href="/url/">bar</a>.</p>
400<p>Foo <a href="/url/">bar</a>.</p>
401<p>Foo <a href="/url/">bar</a>.</p>
402<p>With <a href="/url/">embedded [brackets]</a>.</p>
403<p><a href="/url/">b</a> by itself should be a link.</p>
404<p>Indented <a href="/url">once</a>.</p>
405<p>Indented <a href="/url">twice</a>.</p>
406<p>Indented <a href="/url">thrice</a>.</p>
407<p>This should [not] be a link.</p>
408<pre><code>[not]: /url
410<p>Foo <a href="/url/" title="Title with "quotes" inside">bar</a>.</p>
411<p>Foo <a href="/url/" title="Title with "quote" inside">biz</a>.</p>
412<h2>With ampersands</h2>
413<p>Here's a <a href="http://example.com/?foo=1&bar=2">link with an ampersand in the URL</a>.</p>
414<p>Here's a link with an amersand in the link text: <a href="http://att.com/" title="AT&T">AT&T</a>.</p>
415<p>Here's an <a href="/script?foo=1&bar=2">inline link</a>.</p>
416<p>Here's an <a href="/script?foo=1&bar=2">inline link in pointy braces</a>.</p>
418<p>With an ampersand: <a href="http://example.com/?foo=1&bar=2">http://example.com/?foo=1&bar=2</a></p>
421<li><a href="http://example.com/">http://example.com/</a></li>
424An e-mail address: nobody [at] nowhere.net<blockquote>
425<p>Blockquoted: <a href="http://example.com/">http://example.com/</a></p>
427<p>Auto-links should not occur here: <code><http://example.com/></code></p>
428<pre><code>or here: <http://example.com/>
432<p>From "Voyage dans la Lune" by Georges Melies (1902):</p>
433<p><img src="lalune.jpg" title="Voyage dans la Lune" alt="lalune"></p>
434<p>Here is a movie <img src="movie.jpg" alt="movie"> icon.</p>
437<p>Here is a footnote reference<a href="#note_1">(1)</a>, and another<a href="#note_longnote">(longnote)</a>. This should <em>not</em> be a footnote reference, because it contains a space^(my note).</p>
438<p><a href="#ref_1">(1)</a> Here is the footnote. It can go anywhere in the document, not just at the end.</p>
439<p><a href="#ref_longnote">(longnote)</a> Here's the other note. This one contains multiple blocks.</p>
440<p>Caret characters are used to indicate that the blocks all belong to a single footnote (as with block quotes).</p>
441<pre><code> { <code> }
443<p>If you want, you can use a caret at the beginning of every line, as with blockquotes, but all that you need is a caret at the beginning of the first line of the block and any preceding blank lines.</p>
444<p>text<em> Leading space</em></p>
445<p><em>Trailing space </em>text</p>
446<p>text<em> Leading spaces</em></p>
447<p><em>Trailing spaces </em>text</p>
449<h2>Tables with Headers</h2>
643<h2>Tables without Headers</h2>
706<p>This section should be empty.</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