@@ -11,85 +11,46 @@
1111<body>
1212<h1 class="title">Pandoc Test Suite</h1>
1313<p>This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite.</p>
14−
1514<hr />
16−
1715<h1 id="headers">Headers</h1>
18−
1916<h2 id="level-2-with-an-embedded-link">Level 2 with an <a href="/url">embedded link</a></h2>
20−
2117<h3 id="level-3-with-emphasis">Level 3 with <em>emphasis</em></h3>
22−
2318<h4 id="level-4">Level 4</h4>
24−
2519<h5 id="level-5">Level 5</h5>
26−
2720<h1 id="level-1">Level 1</h1>
28−
2921<h2 id="level-2-with-emphasis">Level 2 with <em>emphasis</em></h2>
30−
3122<h3 id="level-3">Level 3</h3>
32−
3323<p>with no blank line</p>
34−
3524<h2 id="level-2">Level 2</h2>
36−
3725<p>with no blank line</p>
38−
3926<hr />
40−
4127<h1 id="paragraphs">Paragraphs</h1>
42−
4328<p>Here’s a regular paragraph.</p>
44−
4529<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>
46−
4730<p>Here’s one with a bullet. * criminey.</p>
48−
4931<p>There should be a hard line break<br />here.</p>
50−
5132<hr />
52−
5333<h1 id="block-quotes">Block Quotes</h1>
54−
5534<p>E-mail style:</p>
56−
57−<blockquote>
58−<p>This is a block quote. It is pretty short.</p></blockquote>
59−
60−<blockquote>
61−<p>Code in a block quote:</p>
62−
35+<blockquote><p>This is a block quote. It is pretty short.</p></blockquote>
36+<blockquote><p>Code in a block quote:</p>
6337<pre><code>sub status {
6438 print "working";
6539}
6640</code></pre>
67−
6841<p>A list:</p>
69−
7042<ol style="list-style-type: decimal">
7143<li>item one</li>
7244<li>item two</li>
7345</ol>
74−
7546<p>Nested block quotes:</p>
76−
77−<blockquote>
78−<p>nested</p></blockquote>
79−
80−<blockquote>
81−<p>nested</p></blockquote></blockquote>
82−
47+<blockquote><p>nested</p></blockquote>
48+<blockquote><p>nested</p></blockquote></blockquote>
8349<p>This should not be a block quote: 2 > 1.</p>
84−
8550<p>And a following paragraph.</p>
86−
8751<hr />
88−
8952<h1 id="code-blocks">Code Blocks</h1>
90−
9153<p>Code:</p>
92−
9354<pre><code>---- (should be four hyphens)
9455
9556sub status {
@@ -98,150 +59,96 @@ sub status {
9859
9960this code block is indented by one tab
10061</code></pre>
101−
10262<p>And:</p>
103−
10463<pre><code> this code block is indented by two tabs
10564
10665These should not be escaped: \$ \\ \> \[ \{
10766</code></pre>
108−
10967<hr />
110−
11168<h1 id="lists">Lists</h1>
112−
11369<h2 id="unordered">Unordered</h2>
114−
11570<p>Asterisks tight:</p>
116−
11771<ul>
11872<li>asterisk 1</li>
11973<li>asterisk 2</li>
12074<li>asterisk 3</li>
12175</ul>
122−
12376<p>Asterisks loose:</p>
124−
12577<ul>
126−<li>
127−<p>asterisk 1</p></li>
128−<li>
129−<p>asterisk 2</p></li>
130−<li>
131−<p>asterisk 3</p></li>
78+<li><p>asterisk 1</p></li>
79+<li><p>asterisk 2</p></li>
80+<li><p>asterisk 3</p></li>
13281</ul>
133−
13482<p>Pluses tight:</p>
135−
13683<ul>
13784<li>Plus 1</li>
13885<li>Plus 2</li>
13986<li>Plus 3</li>
14087</ul>
141−
14288<p>Pluses loose:</p>
143−
14489<ul>
145−<li>
146−<p>Plus 1</p></li>
147−<li>
148−<p>Plus 2</p></li>
149−<li>
150−<p>Plus 3</p></li>
90+<li><p>Plus 1</p></li>
91+<li><p>Plus 2</p></li>
92+<li><p>Plus 3</p></li>
15193</ul>
152−
15394<p>Minuses tight:</p>
154−
15595<ul>
15696<li>Minus 1</li>
15797<li>Minus 2</li>
15898<li>Minus 3</li>
15999</ul>
160−
161100<p>Minuses loose:</p>
162−
163101<ul>
164−<li>
165−<p>Minus 1</p></li>
166−<li>
167−<p>Minus 2</p></li>
168−<li>
169−<p>Minus 3</p></li>
102+<li><p>Minus 1</p></li>
103+<li><p>Minus 2</p></li>
104+<li><p>Minus 3</p></li>
170105</ul>
171−
172106<h2 id="ordered">Ordered</h2>
173−
174107<p>Tight:</p>
175−
176108<ol style="list-style-type: decimal">
177109<li>First</li>
178110<li>Second</li>
179111<li>Third</li>
180112</ol>
181−
182113<p>and:</p>
183−
184114<ol style="list-style-type: decimal">
185115<li>One</li>
186116<li>Two</li>
187117<li>Three</li>
188118</ol>
189−
190119<p>Loose using tabs:</p>
191−
192120<ol style="list-style-type: decimal">
193−<li>
194−<p>First</p></li>
195−<li>
196−<p>Second</p></li>
197−<li>
198−<p>Third</p></li>
121+<li><p>First</p></li>
122+<li><p>Second</p></li>
123+<li><p>Third</p></li>
199124</ol>
200−
201125<p>and using spaces:</p>
202−
203126<ol style="list-style-type: decimal">
204−<li>
205−<p>One</p></li>
206−<li>
207−<p>Two</p></li>
208−<li>
209−<p>Three</p></li>
127+<li><p>One</p></li>
128+<li><p>Two</p></li>
129+<li><p>Three</p></li>
210130</ol>
211−
212131<p>Multiple paragraphs:</p>
213−
214132<ol style="list-style-type: decimal">
215−<li>
216−<p>Item 1, graf one.</p>
217−
133+<li><p>Item 1, graf one.</p>
218134<p>Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.</p></li>
219−<li>
220−<p>Item 2.</p></li>
221−<li>
222−<p>Item 3.</p></li>
135+<li><p>Item 2.</p></li>
136+<li><p>Item 3.</p></li>
223137</ol>
224−
225138<h2 id="nested">Nested</h2>
226−
227139<ul>
228140<li>Tab
229−
230141<ul>
231142<li>Tab
232−
233143<ul>
234144<li>Tab</li>
235145</ul></li>
236146</ul></li>
237147</ul>
238−
239148<p>Here’s another:</p>
240−
241149<ol style="list-style-type: decimal">
242150<li>First</li>
243151<li>Second:
244−
245152<ul>
246153<li>Fee</li>
247154<li>Fie</li>
@@ -249,101 +156,67 @@ These should not be escaped: \$ \\ \> \[ \{
249156</ul></li>
250157<li>Third</li>
251158</ol>
252−
253159<p>Same thing but with paragraphs:</p>
254−
255160<ol style="list-style-type: decimal">
256−<li>
257−<p>First</p></li>
258−<li>
259−<p>Second:</p>
260−
161+<li><p>First</p></li>
162+<li><p>Second:</p>
261163<ul>
262164<li>Fee</li>
263165<li>Fie</li>
264166<li>Foe</li>
265167</ul></li>
266−<li>
267−<p>Third</p></li>
168+<li><p>Third</p></li>
268169</ol>
269−
270170<h2 id="tabs-and-spaces">Tabs and spaces</h2>
271−
272171<ul>
273−<li>
274−<p>this is a list item indented with tabs</p></li>
275−<li>
276−<p>this is a list item indented with spaces</p>
277−
172+<li><p>this is a list item indented with tabs</p></li>
173+<li><p>this is a list item indented with spaces</p>
278174<ul>
279−<li>
280−<p>this is an example list item indented with tabs</p></li>
281−<li>
282−<p>this is an example list item indented with spaces</p></li>
175+<li><p>this is an example list item indented with tabs</p></li>
176+<li><p>this is an example list item indented with spaces</p></li>
283177</ul></li>
284178</ul>
285−
286179<h2 id="fancy-list-markers">Fancy list markers</h2>
287−
288180<ol start="2" style="list-style-type: decimal">
289181<li>begins with 2</li>
290−<li>
291−<p>and now 3</p>
292−
182+<li><p>and now 3</p>
293183<p>with a continuation</p>
294−
295184<ol start="4" style="list-style-type: lower-roman">
296185<li>sublist with roman numerals, starting with 4</li>
297186<li>more items
298−
299187<ol style="list-style-type: upper-alpha">
300188<li>a subsublist</li>
301189<li>a subsublist</li>
302190</ol></li>
303191</ol></li>
304192</ol>
305−
306193<p>Nesting:</p>
307−
308194<ol style="list-style-type: upper-alpha">
309195<li>Upper Alpha
310−
311196<ol style="list-style-type: upper-roman">
312197<li>Upper Roman.
313−
314198<ol start="6" style="list-style-type: decimal">
315199<li>Decimal start with 6
316−
317200<ol start="3" style="list-style-type: lower-alpha">
318201<li>Lower alpha with paren</li>
319202</ol></li>
320203</ol></li>
321204</ol></li>
322205</ol>
323−
324206<p>Autonumbering:</p>
325−
326207<ol>
327208<li>Autonumber.</li>
328209<li>More.
329−
330210<ol>
331211<li>Nested.</li>
332212</ol></li>
333213</ol>
334−
335214<p>Should not be a list item:</p>
336−
337215<p>M.A. 2007</p>
338−
339216<p>B. Williams</p>
340−
341217<hr />
342−
343218<h1 id="definition-lists">Definition Lists</h1>
344−
345219<p>Tight using spaces:</p>
346−
347220<dl>
348221<dt>apple</dt>
349222<dd>red fruit
@@ -355,9 +228,7 @@ These should not be escaped: \$ \\ \> \[ \{
355228<dd>yellow fruit
356229</dd>
357230</dl>
358−
359231<p>Tight using tabs:</p>
360−
361232<dl>
362233<dt>apple</dt>
363234<dd>red fruit
@@ -369,47 +240,32 @@ These should not be escaped: \$ \\ \> \[ \{
369240<dd>yellow fruit
370241</dd>
371242</dl>
372−
373243<p>Loose:</p>
374−
375244<dl>
376245<dt>apple</dt>
377−<dd>
378−<p>red fruit</p>
246+<dd><p>red fruit</p>
379247</dd>
380248<dt>orange</dt>
381−<dd>
382−<p>orange fruit</p>
249+<dd><p>orange fruit</p>
383250</dd>
384251<dt>banana</dt>
385−<dd>
386−<p>yellow fruit</p>
252+<dd><p>yellow fruit</p>
387253</dd>
388254</dl>
389−
390255<p>Multiple blocks with italics:</p>
391−
392256<dl>
393257<dt><em>apple</em></dt>
394−<dd>
395−<p>red fruit</p>
396−
258+<dd><p>red fruit</p>
397259<p>contains seeds, crisp, pleasant to taste</p>
398260</dd>
399261<dt><em>orange</em></dt>
400−<dd>
401−<p>orange fruit</p>
402−
262+<dd><p>orange fruit</p>
403263<pre><code>{ orange code block }
404264</code></pre>
405−
406−<blockquote>
407−<p>orange block quote</p></blockquote>
265+<blockquote><p>orange block quote</p></blockquote>
408266</dd>
409267</dl>
410−
411268<p>Multiple definitions, tight:</p>
412−
413269<dl>
414270<dt>apple</dt>
415271<dd>red fruit
@@ -420,52 +276,37 @@ These should not be escaped: \$ \\ \> \[ \{
420276</dd><dd>bank
421277</dd>
422278</dl>
423−
424279<p>Multiple definitions, loose:</p>
425−
426280<dl>
427281<dt>apple</dt>
428−<dd>
429−<p>red fruit</p>
430−</dd><dd>
431−<p>computer</p>
282+<dd><p>red fruit</p>
283+</dd><dd><p>computer</p>
432284</dd>
433285<dt>orange</dt>
434−<dd>
435−<p>orange fruit</p>
436−</dd><dd>
437−<p>bank</p>
286+<dd><p>orange fruit</p>
287+</dd><dd><p>bank</p>
438288</dd>
439289</dl>
440−
441290<p>Blank line after term, indented marker, alternate markers:</p>
442−
443291<dl>
444292<dt>apple</dt>
445−<dd>
446−<p>red fruit</p>
447−</dd><dd>
448−<p>computer</p>
293+<dd><p>red fruit</p>
294+</dd><dd><p>computer</p>
449295</dd>
450296<dt>orange</dt>
451−<dd>
452−<p>orange fruit</p>
453−
297+<dd><p>orange fruit</p>
454298<ol style="list-style-type: decimal">
455299<li>sublist</li>
456300<li>sublist</li>
457301</ol>
458302</dd>
459303</dl>
460−
461304<h1 id="html-blocks">HTML Blocks</h1>
462−
463305<p>Simple block on one line:</p>
464306<div>
465307foo
466308</div>
467309
468−
469310<p>And nested without indentation:</p>
470311<div>
471312<div>
@@ -478,7 +319,6 @@ bar
478319</div>
479320</div>
480321
481−
482322<p>Interpreted markdown in a table:</p>
483323<table>
484324<tr>
@@ -493,26 +333,20 @@ And this is <strong>strong</strong>
493333
494334<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
495335
496−
497336<p>Here’s a simple block:</p>
498337<div>
499338
500339foo
501340</div>
502341
503−
504342<p>This should be a code block, though:</p>
505−
506343<pre><code><div>
507344 foo
508345</div>
509346</code></pre>
510−
511347<p>As should this:</p>
512−
513348<pre><code><div>foo</div>
514349</code></pre>
515−
516350<p>Now, nested:</p>
517351<div>
518352 <div>
@@ -523,11 +357,9 @@ foo
523357 </div>
524358</div>
525359
526−
527360<p>This should just be an HTML comment:</p>
528361<!-- Comment -->
529362
530−
531363<p>Multiline:</p>
532364<!--
533365Blah
@@ -538,21 +370,15 @@ Blah
538370 This is another comment.
539371-->
540372
541−
542373<p>Code block:</p>
543−
544374<pre><code><!-- Comment -->
545375</code></pre>
546−
547376<p>Just plain comment, with trailing spaces on the line:</p>
548377<!-- foo -->
549378
550−
551379<p>Code:</p>
552−
553380<pre><code><hr />
554381</code></pre>
555−
556382<p>Hr’s:</p>
557383<hr>
558384
@@ -572,59 +398,32 @@ Blah
572398
573399<hr class="foo" id="bar">
574400
575−
576401<hr />
577−
578402<h1 id="inline-markup">Inline Markup</h1>
579−
580403<p>This is <em>emphasized</em>, and so <em>is this</em>.</p>
581−
582404<p>This is <strong>strong</strong>, and so <strong>is this</strong>.</p>
583−
584405<p>An <em><a href="/url">emphasized link</a></em>.</p>
585−
586406<p><strong><em>This is strong and em.</em></strong></p>
587−
588407<p>So is <strong><em>this</em></strong> word.</p>
589−
590408<p><strong><em>This is strong and em.</em></strong></p>
591−
592409<p>So is <strong><em>this</em></strong> word.</p>
593−
594410<p>This is code: <code>></code>, <code>$</code>, <code>\</code>, <code>\$</code>, <code><html></code>.</p>
595−
596411<p><span style="text-decoration: line-through;">This is <em>strikeout</em>.</span></p>
597−
598412<p>Superscripts: a<sup>bc</sup>d a<sup><em>hello</em></sup> a<sup>hello there</sup>.</p>
599−
600413<p>Subscripts: H<sub>2</sub>O, H<sub>23</sub>O, H<sub>many of them</sub>O.</p>
601−
602414<p>These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.</p>
603−
604415<hr />
605−
606416<h1 id="smart-quotes-ellipses-dashes">Smart quotes, ellipses, dashes</h1>
607−
608417<p>“Hello,” said the spider. “‘Shelob’ is my name.”</p>
609−
610418<p>‘A’, ‘B’, and ‘C’ are letters.</p>
611−
612419<p>‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p>
613−
614420<p>‘He said, “I want to go.”’ Were you alive in the 70’s?</p>
615−
616421<p>Here is some quoted ‘<code>code</code>’ and a “<a href="http://example.com/?foo=1&bar=2">quoted link</a>”.</p>
617−
618422<p>Some dashes: one—two — three—four — five.</p>
619−
620423<p>Dashes between numbers: 5–7, 255–66, 1987–1999.</p>
621−
622424<p>Ellipses…and…and….</p>
623−
624425<hr />
625−
626426<h1 id="latex">LaTeX</h1>
627−
628427<ul>
629428<li></li>
630429<li><span class="math">2 + 2 = 4</span></li>
@@ -635,25 +434,18 @@ Blah
635434<li>Here’s some display math: <br /><span class="math">$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</span><br /></li>
636435<li>Here’s one that has a line break in it: <span class="math">α + ω × <em>x</em><sup>2</sup></span>.</li>
637436</ul>
638−
639437<p>These shouldn’t be math:</p>
640−
641438<ul>
642439<li>To get the famous equation, write <code>$e = mc^2$</code>.</li>
643440<li>$22,000 is a <em>lot</em> of money. So is $34,000. (It worked if “lot” is emphasized.)</li>
644441<li>Shoes ($20) and socks ($5).</li>
645442<li>Escaped <code>$</code>: $73 <em>this should be emphasized</em> 23$.</li>
646443</ul>
647−
648444<p>Here’s a LaTeX table:</p>
649445
650−
651446<hr />
652−
653447<h1 id="special-characters">Special Characters</h1>
654−
655448<p>Here is some unicode:</p>
656−
657449<ul>
658450<li>I hat: Î</li>
659451<li>o umlaut: ö</li>
@@ -661,185 +453,108 @@ Blah
661453<li>set membership: ∈</li>
662454<li>copyright: ©</li>
663455</ul>
664−
665456<p>AT&T has an ampersand in their name.</p>
666−
667457<p>AT&T is another way to write it.</p>
668−
669458<p>This & that.</p>
670−
671459<p>4 < 5.</p>
672−
673460<p>6 > 5.</p>
674−
675461<p>Backslash: \</p>
676−
677462<p>Backtick: `</p>
678−
679463<p>Asterisk: *</p>
680−
681464<p>Underscore: _</p>
682−
683465<p>Left brace: {</p>
684−
685466<p>Right brace: }</p>
686−
687467<p>Left bracket: [</p>
688−
689468<p>Right bracket: ]</p>
690−
691469<p>Left paren: (</p>
692−
693470<p>Right paren: )</p>
694−
695471<p>Greater-than: ></p>
696−
697472<p>Hash: #</p>
698−
699473<p>Period: .</p>
700−
701474<p>Bang: !</p>
702−
703475<p>Plus: +</p>
704−
705476<p>Minus: -</p>
706−
707477<hr />
708−
709478<h1 id="links">Links</h1>
710−
711479<h2 id="explicit">Explicit</h2>
712−
713480<p>Just a <a href="/url/">URL</a>.</p>
714−
715481<p><a href="/url/" title="title">URL and title</a>.</p>
716−
717482<p><a href="/url/" title="title preceded by two spaces">URL and title</a>.</p>
718−
719483<p><a href="/url/" title="title preceded by a tab">URL and title</a>.</p>
720−
721484<p><a href="/url/" title="title with "quotes" in it">URL and title</a></p>
722−
723485<p><a href="/url/" title="title with single quotes">URL and title</a></p>
724−
725486<p><a href="/url/with_underscore">with_underscore</a></p>
726−
727487<p><script type="text/javascript">
728488<!--
729489h='nowhere.net';a='@';n='nobody';e=n+a+h;
730490document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>');
731491// -->
732492</script><noscript>Email link (nobody at nowhere dot net)</noscript></p>
733−
734493<p><a href="">Empty</a>.</p>
735−
736494<h2 id="reference">Reference</h2>
737−
738495<p>Foo <a href="/url/">bar</a>.</p>
739−
740496<p>Foo <a href="/url/">bar</a>.</p>
741−
742497<p>Foo <a href="/url/">bar</a>.</p>
743−
744498<p>With <a href="/url/">embedded [brackets]</a>.</p>
745−
746499<p><a href="/url/">b</a> by itself should be a link.</p>
747−
748500<p>Indented <a href="/url">once</a>.</p>
749−
750501<p>Indented <a href="/url">twice</a>.</p>
751−
752502<p>Indented <a href="/url">thrice</a>.</p>
753−
754503<p>This should [not][] be a link.</p>
755−
756504<pre><code>[not]: /url
757505</code></pre>
758−
759506<p>Foo <a href="/url/" title="Title with "quotes" inside">bar</a>.</p>
760−
761507<p>Foo <a href="/url/" title="Title with "quote" inside">biz</a>.</p>
762−
763508<h2 id="with-ampersands">With ampersands</h2>
764−
765509<p>Here’s a <a href="http://example.com/?foo=1&bar=2">link with an ampersand in the URL</a>.</p>
766−
767510<p>Here’s a link with an amersand in the link text: <a href="http://att.com/" title="AT&T">AT&T</a>.</p>
768−
769511<p>Here’s an <a href="/script?foo=1&bar=2">inline link</a>.</p>
770−
771512<p>Here’s an <a href="/script?foo=1&bar=2">inline link in pointy braces</a>.</p>
772−
773513<h2 id="autolinks">Autolinks</h2>
774−
775514<p>With an ampersand: <a href="http://example.com/?foo=1&bar=2"><code class="url">http://example.com/?foo=1&bar=2</code></a></p>
776−
777515<ul>
778516<li>In a list?</li>
779517<li><a href="http://example.com/"><code class="url">http://example.com/</code></a></li>
780518<li>It should.</li>
781519</ul>
782−
783520<p>An e-mail address: <script type="text/javascript">
784521<!--
785522h='nowhere.net';a='@';n='nobody';e=n+a+h;
786523document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'<code>'+e+'</code>'+'<\/'+'a'+'>');
787524// -->
788525</script><noscript>nobody at nowhere dot net</noscript></p>
789−
790−<blockquote>
791−<p>Blockquoted: <a href="http://example.com/"><code class="url">http://example.com/</code></a></p></blockquote>
792−
526+<blockquote><p>Blockquoted: <a href="http://example.com/"><code class="url">http://example.com/</code></a></p></blockquote>
793527<p>Auto-links should not occur here: <code><http://example.com/></code></p>
794−
795528<pre><code>or here: <http://example.com/>
796529</code></pre>
797−
798530<hr />
799−
800531<h1 id="images">Images</h1>
801−
802532<p>From “Voyage dans la Lune” by Georges Melies (1902):</p>
803−
804533<div class="figure">
805534<img src="lalune.jpg" title="Voyage dans la Lune" alt="lalune" /><p class="caption">lalune</p>
806535</div>
807−
808536<p>Here is a movie <img src="movie.jpg" alt="movie" /> icon.</p>
809−
810537<hr />
811−
812538<h1 id="footnotes">Footnotes</h1>
813−
814539<p>Here is a footnote reference,<sup><a href="#fn1" class="footnoteRef" id="fnref1">1</a></sup> and another.<sup><a href="#fn2" class="footnoteRef" id="fnref2">2</a></sup> This should <em>not</em> be a footnote reference, because it contains a space.[^my note] Here is an inline note.<sup><a href="#fn3" class="footnoteRef" id="fnref3">3</a></sup></p>
815−
816−<blockquote>
817−<p>Notes can go in quotes.<sup><a href="#fn4" class="footnoteRef" id="fnref4">4</a></sup></p></blockquote>
818−
540+<blockquote><p>Notes can go in quotes.<sup><a href="#fn4" class="footnoteRef" id="fnref4">4</a></sup></p></blockquote>
819541<ol style="list-style-type: decimal">
820542<li>And in list items.<sup><a href="#fn5" class="footnoteRef" id="fnref5">5</a></sup></li>
821543</ol>
822−
823−<p>This paragraph should not be part of the note, as it is not indented.</p><div class="footnotes">
544+<p>This paragraph should not be part of the note, as it is not indented.</p>
545+<div class="footnotes">
824546<hr />
825547<ol>
826−<li id="fn1">
827−<p>Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document. <a href="#fnref1" class="footnoteBackLink" title="Jump back to footnote 1">↩</a></p></li>
828−<li id="fn2">
829−<p>Here’s the long note. This one contains multiple blocks.</p>
830−
548+<li id="fn1"><p>Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document. <a href="#fnref1" class="footnoteBackLink" title="Jump back to footnote 1">↩</a></p></li>
549+<li id="fn2"><p>Here’s the long note. This one contains multiple blocks.</p>
831550<p>Subsequent blocks are indented to show that they belong to the footnote (as with list items).</p>
832−
833551<pre><code> { <code> }
834552</code></pre>
835−
836553<p>If you want, you can indent every line, but you can also be lazy and just indent the first line of each block. <a href="#fnref2" class="footnoteBackLink" title="Jump back to footnote 2">↩</a></p></li>
837−<li id="fn3">
838−<p>This is <em>easier</em> to type. Inline notes may contain <a href="http://google.com">links</a> and <code>]</code> verbatim characters, as well as [bracketed text]. <a href="#fnref3" class="footnoteBackLink" title="Jump back to footnote 3">↩</a></p></li>
839−<li id="fn4">
840−<p>In quote. <a href="#fnref4" class="footnoteBackLink" title="Jump back to footnote 4">↩</a></p></li>
841−<li id="fn5">
842−<p>In list. <a href="#fnref5" class="footnoteBackLink" title="Jump back to footnote 5">↩</a></p></li>
843−</ol></div>
554+<li id="fn3"><p>This is <em>easier</em> to type. Inline notes may contain <a href="http://google.com">links</a> and <code>]</code> verbatim characters, as well as [bracketed text]. <a href="#fnref3" class="footnoteBackLink" title="Jump back to footnote 3">↩</a></p></li>
555+<li id="fn4"><p>In quote. <a href="#fnref4" class="footnoteBackLink" title="Jump back to footnote 4">↩</a></p></li>
556+<li id="fn5"><p>In list. <a href="#fnref5" class="footnoteBackLink" title="Jump back to footnote 5">↩</a></p></li>
557+</ol>
558+</div>
844559</body>
845560</html>