git.iko.soy/typeable/pandoc
on 2.0 help sign in
typeable/pandoc/test/writer.fb2
1017 lines 20 kB history raw
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">
3<description>
4<title-info>
5<book-title>Pandoc Test Suite</book-title>
6<author>
7<first-name>John</first-name>
8<last-name>MacFarlane</last-name>
9</author>
10<author>
11<nickname>Anonymous</nickname>
12</author>
13<date>July 17, 2006</date>
14</title-info>
15<document-info>
16<program-used>pandoc</program-used>
17</document-info>
18</description>
19<body>
20<title>
21<p>Pandoc Test Suite</p>
22</title>
23<annotation>
24<p>John MacFarlane</p>
25<p>Anonymous</p>
26<p>July 17, 2006</p>
27</annotation>
28<section>
29<p>This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite.</p>
30<empty-line />
31<p>——————————</p>
32<empty-line />
33</section>
34<section>
35<title>
36<p>Headers</p>
37</title>
38<section>
39<title>
40<p>Level 2 with an embedded link &lt;/url&gt;</p>
41</title>
42<section>
43<title>
44<p>Level 3 with emphasis</p>
45</title>
46<section>
47<title>
48<p>Level 4</p>
49</title>
50<section>
51<title>
52<p>Level 5</p>
53</title>
54</section>
55</section>
56</section>
57</section>
58</section>
59<section>
60<title>
61<p>Level 1</p>
62</title>
63<section>
64<title>
65<p>Level 2 with emphasis</p>
66</title>
67<section>
68<title>
69<p>Level 3</p>
70</title>
71<p>with no blank line</p>
72</section>
73</section>
74<section>
75<title>
76<p>Level 2</p>
77</title>
78<p>with no blank line</p>
79<empty-line />
80<p>——————————</p>
81<empty-line />
82</section>
83</section>
84<section>
85<title>
86<p>Paragraphs</p>
87</title>
88<p>Here’s a regular paragraph.</p>
89<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>
90<p>Here’s one with a bullet. * criminey.</p>
91<p>There should be a hard line break<empty-line />here.</p>
92<empty-line />
93<p>——————————</p>
94<empty-line />
95</section>
96<section>
97<title>
98<p>Block Quotes</p>
99</title>
100<p>E-mail style:</p>
101<cite>
102<p>This is a block quote. It is pretty short.</p>
103</cite>
104<cite>
105<p>Code in a block quote:</p>
106<empty-line />
107<p>
108<code>sub status {</code>
109</p>
110<p>
111<code> print &quot;working&quot;;</code>
112</p>
113<p>
114<code>}</code>
115</p>
116<empty-line />
117<p>A list:</p>
118<p>1. item one</p>
119<p>2. item two</p>
120<p>Nested block quotes:</p>
121<cite>
122<p>nested</p>
123</cite>
124<cite>
125<p>nested</p>
126</cite>
127</cite>
128<p>This should not be a block quote: 2 &gt; 1.</p>
129<p>And a following paragraph.</p>
130<empty-line />
131<p>——————————</p>
132<empty-line />
133</section>
134<section>
135<title>
136<p>Code Blocks</p>
137</title>
138<p>Code:</p>
139<empty-line />
140<p>
141<code>---- (should be four hyphens)</code>
142</p>
143<p>
144<code>
145</code>
146</p>
147<p>
148<code>sub status {</code>
149</p>
150<p>
151<code> print &quot;working&quot;;</code>
152</p>
153<p>
154<code>}</code>
155</p>
156<p>
157<code>
158</code>
159</p>
160<p>
161<code>this code block is indented by one tab</code>
162</p>
163<empty-line />
164<p>And:</p>
165<empty-line />
166<p>
167<code> this code block is indented by two tabs</code>
168</p>
169<p>
170<code>
171</code>
172</p>
173<p>
174<code>These should not be escaped: \$ \\ \&gt; \[ \{</code>
175</p>
176<empty-line />
177<empty-line />
178<p>——————————</p>
179<empty-line />
180</section>
181<section>
182<title>
183<p>Lists</p>
184</title>
185<section>
186<title>
187<p>Unordered</p>
188</title>
189<p>Asterisks tight:</p>
190<p>• asterisk 1</p>
191<p>• asterisk 2</p>
192<p>• asterisk 3</p>
193<p>Asterisks loose:</p>
194<p>• asterisk 1</p>
195<empty-line />
196<p>• asterisk 2</p>
197<empty-line />
198<p>• asterisk 3</p>
199<empty-line />
200<p>Pluses tight:</p>
201<p>• Plus 1</p>
202<p>• Plus 2</p>
203<p>• Plus 3</p>
204<p>Pluses loose:</p>
205<p>• Plus 1</p>
206<empty-line />
207<p>• Plus 2</p>
208<empty-line />
209<p>• Plus 3</p>
210<empty-line />
211<p>Minuses tight:</p>
212<p>• Minus 1</p>
213<p>• Minus 2</p>
214<p>• Minus 3</p>
215<p>Minuses loose:</p>
216<p>• Minus 1</p>
217<empty-line />
218<p>• Minus 2</p>
219<empty-line />
220<p>• Minus 3</p>
221<empty-line />
222</section>
223<section>
224<title>
225<p>Ordered</p>
226</title>
227<p>Tight:</p>
228<p>1. First</p>
229<p>2. Second</p>
230<p>3. Third</p>
231<p>and:</p>
232<p>1. One</p>
233<p>2. Two</p>
234<p>3. Three</p>
235<p>Loose using tabs:</p>
236<p>1. First</p>
237<empty-line />
238<p>2. Second</p>
239<empty-line />
240<p>3. Third</p>
241<empty-line />
242<p>and using spaces:</p>
243<p>1. One</p>
244<empty-line />
245<p>2. Two</p>
246<empty-line />
247<p>3. Three</p>
248<empty-line />
249<p>Multiple paragraphs:</p>
250<p>1. Item 1, graf one.</p>
251<empty-line />
252<p>   Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.</p>
253<empty-line />
254<p>2. Item 2.</p>
255<empty-line />
256<p>3. Item 3.</p>
257<empty-line />
258</section>
259<section>
260<title>
261<p>Nested</p>
262</title>
263<p>• Tab</p>
264<p>◦ Tab</p>
265<p>* Tab</p>
266<p>Here’s another:</p>
267<p>1. First</p>
268<p>2. Second:</p>
269<p>   • Fee</p>
270<p>   • Fie</p>
271<p>   • Foe</p>
272<p>3. Third</p>
273<p>Same thing but with paragraphs:</p>
274<p>1. First</p>
275<empty-line />
276<p>2. Second:</p>
277<empty-line />
278<p>   • Fee</p>
279<p>   • Fie</p>
280<p>   • Foe</p>
281<p>3. Third</p>
282<empty-line />
283</section>
284<section>
285<title>
286<p>Tabs and spaces</p>
287</title>
288<p>• this is a list item indented with tabs</p>
289<empty-line />
290<p>• this is a list item indented with spaces</p>
291<empty-line />
292<p>◦ this is an example list item indented with tabs</p>
293<empty-line />
294<p>◦ this is an example list item indented with spaces</p>
295<empty-line />
296</section>
297<section>
298<title>
299<p>Fancy list markers</p>
300</title>
301<p>(2) begins with 2</p>
302<p>(3) and now 3</p>
303<empty-line />
304<p>    with a continuation</p>
305<empty-line />
306<p>(3) iv. sublist with roman numerals, starting with 4</p>
307<p>(3) v. more items</p>
308<p>(3) v. (A) a subsublist</p>
309<p>(3) v. (B) a subsublist</p>
310<p>Nesting:</p>
311<p>A. Upper Alpha</p>
312<p>A. I. Upper Roman.</p>
313<p>A. I. (6) Decimal start with 6</p>
314<p>A. I. (6) c) Lower alpha with paren</p>
315<p>Autonumbering:</p>
316<p>1. Autonumber.</p>
317<p>2. More.</p>
318<p>2. 1. Nested.</p>
319<p>Should not be a list item:</p>
320<p>M.A. 2007</p>
321<p>B. Williams</p>
322<empty-line />
323<p>——————————</p>
324<empty-line />
325</section>
326</section>
327<section>
328<title>
329<p>Definition Lists</p>
330</title>
331<p>Tight using spaces:</p>
332<p>
333<strong>apple</strong>
334</p>
335<p>    red fruit<empty-line />
336</p>
337<p>
338<strong>orange</strong>
339</p>
340<p>    orange fruit<empty-line />
341</p>
342<p>
343<strong>banana</strong>
344</p>
345<p>    yellow fruit<empty-line />
346</p>
347<p>Tight using tabs:</p>
348<p>
349<strong>apple</strong>
350</p>
351<p>    red fruit<empty-line />
352</p>
353<p>
354<strong>orange</strong>
355</p>
356<p>    orange fruit<empty-line />
357</p>
358<p>
359<strong>banana</strong>
360</p>
361<p>    yellow fruit<empty-line />
362</p>
363<p>Loose:</p>
364<p>
365<strong>apple</strong>
366</p>
367<p>    red fruit<empty-line />
368</p>
369<p>
370<strong>orange</strong>
371</p>
372<p>    orange fruit<empty-line />
373</p>
374<p>
375<strong>banana</strong>
376</p>
377<p>    yellow fruit<empty-line />
378</p>
379<p>Multiple blocks with italics:</p>
380<p>
381<strong>
382<emphasis>apple</emphasis>
383</strong>
384</p>
385<p>    red fruit<empty-line />    contains seeds, crisp, pleasant to taste<empty-line />
386</p>
387<p>
388<strong>
389<emphasis>orange</emphasis>
390</strong>
391</p>
392<p>    orange fruit<empty-line />
393<empty-line />
394<p>
395<code>    { orange code block }</code>
396</p>
397<empty-line />
398<cite>
399<p>    orange block quote</p>
400</cite>
401</p>
402<p>Multiple definitions, tight:</p>
403<p>
404<strong>apple</strong>
405</p>
406<p>    red fruit<empty-line />    computer<empty-line />
407</p>
408<p>
409<strong>orange</strong>
410</p>
411<p>    orange fruit<empty-line />    bank<empty-line />
412</p>
413<p>Multiple definitions, loose:</p>
414<p>
415<strong>apple</strong>
416</p>
417<p>    red fruit<empty-line />    computer<empty-line />
418</p>
419<p>
420<strong>orange</strong>
421</p>
422<p>    orange fruit<empty-line />    bank<empty-line />
423</p>
424<p>Blank line after term, indented marker, alternate markers:</p>
425<p>
426<strong>apple</strong>
427</p>
428<p>    red fruit<empty-line />    computer<empty-line />
429</p>
430<p>
431<strong>orange</strong>
432</p>
433<p>    orange fruit<empty-line />
434<p>1. sublist</p>
435<p>2. sublist</p>
436</p>
437</section>
438<section>
439<title>
440<p>HTML Blocks</p>
441</title>
442<p>Simple block on one line:</p>foo<p>And nested without indentation:</p>
443<p>foo</p>bar<p>Interpreted markdown in a table:</p>This is <emphasis>emphasized</emphasis>And this is <strong>strong</strong>
444<p>Here’s a simple block:</p>
445<p>foo</p>
446<p>This should be a code block, though:</p>
447<empty-line />
448<p>
449<code>&lt;div&gt;</code>
450</p>
451<p>
452<code> foo</code>
453</p>
454<p>
455<code>&lt;/div&gt;</code>
456</p>
457<empty-line />
458<p>As should this:</p>
459<empty-line />
460<p>
461<code>&lt;div&gt;foo&lt;/div&gt;</code>
462</p>
463<empty-line />
464<p>Now, nested:</p>foo<p>This should just be an HTML comment:</p>
465<p>Multiline:</p>
466<p>Code block:</p>
467<empty-line />
468<p>
469<code>&lt;!-- Comment --&gt;</code>
470</p>
471<empty-line />
472<p>Just plain comment, with trailing spaces on the line:</p>
473<p>Code:</p>
474<empty-line />
475<p>
476<code>&lt;hr /&gt;</code>
477</p>
478<empty-line />
479<p>Hr’s:</p>
480<empty-line />
481<p>——————————</p>
482<empty-line />
483</section>
484<section>
485<title>
486<p>Inline Markup</p>
487</title>
488<p>This is <emphasis>emphasized</emphasis>, and so <emphasis>is this</emphasis>.</p>
489<p>This is <strong>strong</strong>, and so <strong>is this</strong>.</p>
490<p>An <emphasis>emphasized link<a l:href="#l1" type="note">
491<sup>[1]</sup>
492</a>
493</emphasis>.</p>
494<p>
495<strong>
496<emphasis>This is strong and em.</emphasis>
497</strong>
498</p>
499<p>So is <strong>
500<emphasis>this</emphasis>
501</strong> word.</p>
502<p>
503<strong>
504<emphasis>This is strong and em.</emphasis>
505</strong>
506</p>
507<p>So is <strong>
508<emphasis>this</emphasis>
509</strong> word.</p>
510<p>This is code: <code>&gt;</code>, <code>$</code>, <code>\</code>, <code>\$</code>, <code>&lt;html&gt;</code>.</p>
511<p>
512<strikethrough>This is <emphasis>strikeout</emphasis>.</strikethrough>
513</p>
514<p>Superscripts: a<sup>bc</sup>d a<sup>
515<emphasis>hello</emphasis>
516</sup> a<sup>hello there</sup>.</p>
517<p>Subscripts: H<sub>2</sub>O, H<sub>23</sub>O, H<sub>many of them</sub>O.</p>
518<p>These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.</p>
519<empty-line />
520<p>——————————</p>
521<empty-line />
522</section>
523<section>
524<title>
525<p>Smart quotes, ellipses, dashes</p>
526</title>
527<p>“Hello,” said the spider. “‘Shelob’ is my name.”</p>
528<p>‘A’, ‘B’, and ‘C’ are letters.</p>
529<p>‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p>
530<p>‘He said, “I want to go.”’ Were you alive in the 70’s?</p>
531<p>Here is some quoted ‘<code>code</code>’ and a “quoted link<a l:href="#l2" type="note">
532<sup>[2]</sup>
533</a>”.</p>
534<p>Some dashes: one—two — three—four — five.</p>
535<p>Dashes between numbers: 5–7, 255–66, 1987–1999.</p>
536<p>Ellipses…and…and….</p>
537<empty-line />
538<p>——————————</p>
539<empty-line />
540</section>
541<section>
542<title>
543<p>LaTeX</p>
544</title>
545<p>• </p>
546<p>• <code>2+2=4</code>
547</p>
548<p>• <code>x \in y</code>
549</p>
550<p>• <code>\alpha \wedge \omega</code>
551</p>
552<p>• <code>223</code>
553</p>
554<p>• <code>p</code>-Tree</p>
555<p>• Here’s some display math: <code>\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</code>
556</p>
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. (It worked if “lot” is emphasized.)</p>
561<p>• Shoes ($20) and socks ($5).</p>
562<p>• Escaped <code>$</code>: $73 <emphasis>this should be emphasized</emphasis> 23$.</p>
563<p>Here’s a LaTeX table:</p>
564<empty-line />
565<p>——————————</p>
566<empty-line />
567</section>
568<section>
569<title>
570<p>Special Characters</p>
571</title>
572<p>Here is some unicode:</p>
573<p>• I hat: Î</p>
574<p>• o umlaut: ö</p>
575<p>• section: §</p>
576<p>• set membership: ∈</p>
577<p>• copyright: ©</p>
578<p>AT&amp;T has an ampersand in their name.</p>
579<p>AT&amp;T is another way to write it.</p>
580<p>This &amp; that.</p>
581<p>4 &lt; 5.</p>
582<p>6 &gt; 5.</p>
583<p>Backslash: \</p>
584<p>Backtick: `</p>
585<p>Asterisk: *</p>
586<p>Underscore: _</p>
587<p>Left brace: {</p>
588<p>Right brace: }</p>
589<p>Left bracket: [</p>
590<p>Right bracket: ]</p>
591<p>Left paren: (</p>
592<p>Right paren: )</p>
593<p>Greater-than: &gt;</p>
594<p>Hash: #</p>
595<p>Period: .</p>
596<p>Bang: !</p>
597<p>Plus: +</p>
598<p>Minus: -</p>
599<empty-line />
600<p>——————————</p>
601<empty-line />
602</section>
603<section>
604<title>
605<p>Links</p>
606</title>
607<section>
608<title>
609<p>Explicit</p>
610</title>
611<p>Just a URL<a l:href="#l3" type="note">
612<sup>[3]</sup>
613</a>.</p>
614<p>URL and title<a l:href="#l4" type="note">
615<sup>[4]</sup>
616</a>.</p>
617<p>URL and title<a l:href="#l5" type="note">
618<sup>[5]</sup>
619</a>.</p>
620<p>URL and title<a l:href="#l6" type="note">
621<sup>[6]</sup>
622</a>.</p>
623<p>URL and title<a l:href="#l7" type="note">
624<sup>[7]</sup>
625</a>
626</p>
627<p>URL and title<a l:href="#l8" type="note">
628<sup>[8]</sup>
629</a>
630</p>
631<p>with_underscore<a l:href="#l9" type="note">
632<sup>[9]</sup>
633</a>
634</p>
635<p>Email link<a l:href="#l10" type="note">
636<sup>[10]</sup>
637</a>
638</p>
639<p>Empty<a l:href="#l11" type="note">
640<sup>[11]</sup>
641</a>.</p>
642</section>
643<section>
644<title>
645<p>Reference</p>
646</title>
647<p>Foo bar<a l:href="#l12" type="note">
648<sup>[12]</sup>
649</a>.</p>
650<p>With embedded [brackets]<a l:href="#l13" type="note">
651<sup>[13]</sup>
652</a>.</p>
653<p>b<a l:href="#l14" type="note">
654<sup>[14]</sup>
655</a> by itself should be a link.</p>
656<p>Indented once<a l:href="#l15" type="note">
657<sup>[15]</sup>
658</a>.</p>
659<p>Indented twice<a l:href="#l16" type="note">
660<sup>[16]</sup>
661</a>.</p>
662<p>Indented thrice<a l:href="#l17" type="note">
663<sup>[17]</sup>
664</a>.</p>
665<p>This should [not][] be a link.</p>
666<empty-line />
667<p>
668<code>[not]: /url</code>
669</p>
670<empty-line />
671<p>Foo bar<a l:href="#l18" type="note">
672<sup>[18]</sup>
673</a>.</p>
674<p>Foo biz<a l:href="#l19" type="note">
675<sup>[19]</sup>
676</a>.</p>
677</section>
678<section>
679<title>
680<p>With ampersands</p>
681</title>
682<p>Here’s a link with an ampersand in the URL<a l:href="#l20" type="note">
683<sup>[20]</sup>
684</a>.</p>
685<p>Here’s a link with an amersand in the link text: AT&amp;T<a l:href="#l21" type="note">
686<sup>[21]</sup>
687</a>.</p>
688<p>Here’s an inline link<a l:href="#l22" type="note">
689<sup>[22]</sup>
690</a>.</p>
691<p>Here’s an inline link in pointy braces<a l:href="#l23" type="note">
692<sup>[23]</sup>
693</a>.</p>
694</section>
695<section>
696<title>
697<p>Autolinks</p>
698</title>
699<p>With an ampersand: http://example.com/?foo=1&amp;bar=2<a l:href="#l24" type="note">
700<sup>[24]</sup>
701</a>
702</p>
703<p>• In a list?</p>
704<p>• http://example.com/<a l:href="#l25" type="note">
705<sup>[25]</sup>
706</a>
707</p>
708<p>• It should.</p>
709<p>An e-mail address: nobody@nowhere.net<a l:href="#l26" type="note">
710<sup>[26]</sup>
711</a>
712</p>
713<cite>
714<p>Blockquoted: http://example.com/<a l:href="#l27" type="note">
715<sup>[27]</sup>
716</a>
717</p>
718</cite>
719<p>Auto-links should not occur here: <code>&lt;http://example.com/&gt;</code>
720</p>
721<empty-line />
722<p>
723<code>or here: &lt;http://example.com/&gt;</code>
724</p>
725<empty-line />
726<empty-line />
727<p>——————————</p>
728<empty-line />
729</section>
730</section>
731<section>
732<title>
733<p>Images</p>
734</title>
735<p>From “Voyage dans la Lune” by Georges Melies (1902):</p>
736<image l:href="#image1" l:type="imageType" alt="lalune" title="Voyage dans la Lune" />
737<p>Here is a movie <image l:href="#image2" l:type="inlineImageType" alt="movie" /> icon.</p>
738<empty-line />
739<p>——————————</p>
740<empty-line />
741</section>
742<section>
743<title>
744<p>Footnotes</p>
745</title>
746<p>Here is a footnote reference,<a l:href="#n28" type="note">
747<sup>[28]</sup>
748</a> and another.<a l:href="#n29" type="note">
749<sup>[29]</sup>
750</a> This should <emphasis>not</emphasis> be a footnote reference, because it contains a space.[^my note] Here is an inline note.<a l:href="#n30" type="note">
751<sup>[30]</sup>
752</a>
753</p>
754<cite>
755<p>Notes can go in quotes.<a l:href="#n31" type="note">
756<sup>[31]</sup>
757</a>
758</p>
759</cite>
760<p>1. And in list items.<a l:href="#n32" type="note">
761<sup>[32]</sup>
762</a>
763</p>
764<p>This paragraph should not be part of the note, as it is not indented.</p>
765</section>
766</body>
767<body name="notes">
768<section id="l1">
769<title>
770<p>1</p>
771</title>
772<p>
773<code>/url</code>
774</p>
775</section>
776<section id="l2">
777<title>
778<p>2</p>
779</title>
780<p>
781<code>http://example.com/?foo=1&amp;bar=2</code>
782</p>
783</section>
784<section id="l3">
785<title>
786<p>3</p>
787</title>
788<p>
789<code>/url/</code>
790</p>
791</section>
792<section id="l4">
793<title>
794<p>4</p>
795</title>
796<p>title: <code>/url/</code>
797</p>
798</section>
799<section id="l5">
800<title>
801<p>5</p>
802</title>
803<p>title preceded by two spaces: <code>/url/</code>
804</p>
805</section>
806<section id="l6">
807<title>
808<p>6</p>
809</title>
810<p>title preceded by a tab: <code>/url/</code>
811</p>
812</section>
813<section id="l7">
814<title>
815<p>7</p>
816</title>
817<p>title with &quot;quotes&quot; in it: <code>/url/</code>
818</p>
819</section>
820<section id="l8">
821<title>
822<p>8</p>
823</title>
824<p>title with single quotes: <code>/url/</code>
825</p>
826</section>
827<section id="l9">
828<title>
829<p>9</p>
830</title>
831<p>
832<code>/url/with_underscore</code>
833</p>
834</section>
835<section id="l10">
836<title>
837<p>10</p>
838</title>
839<p>
840<code>mailto:nobody@nowhere.net</code>
841</p>
842</section>
843<section id="l11">
844<title>
845<p>11</p>
846</title>
847<p>
848<code>
849</code>
850</p>
851</section>
852<section id="l12">
853<title>
854<p>12</p>
855</title>
856<p>
857<code>/url/</code>
858</p>
859</section>
860<section id="l13">
861<title>
862<p>13</p>
863</title>
864<p>
865<code>/url/</code>
866</p>
867</section>
868<section id="l14">
869<title>
870<p>14</p>
871</title>
872<p>
873<code>/url/</code>
874</p>
875</section>
876<section id="l15">
877<title>
878<p>15</p>
879</title>
880<p>
881<code>/url</code>
882</p>
883</section>
884<section id="l16">
885<title>
886<p>16</p>
887</title>
888<p>
889<code>/url</code>
890</p>
891</section>
892<section id="l17">
893<title>
894<p>17</p>
895</title>
896<p>
897<code>/url</code>
898</p>
899</section>
900<section id="l18">
901<title>
902<p>18</p>
903</title>
904<p>Title with &quot;quotes&quot; inside: <code>/url/</code>
905</p>
906</section>
907<section id="l19">
908<title>
909<p>19</p>
910</title>
911<p>Title with &quot;quote&quot; inside: <code>/url/</code>
912</p>
913</section>
914<section id="l20">
915<title>
916<p>20</p>
917</title>
918<p>
919<code>http://example.com/?foo=1&amp;bar=2</code>
920</p>
921</section>
922<section id="l21">
923<title>
924<p>21</p>
925</title>
926<p>AT&amp;T: <code>http://att.com/</code>
927</p>
928</section>
929<section id="l22">
930<title>
931<p>22</p>
932</title>
933<p>
934<code>/script?foo=1&amp;bar=2</code>
935</p>
936</section>
937<section id="l23">
938<title>
939<p>23</p>
940</title>
941<p>
942<code>/script?foo=1&amp;bar=2</code>
943</p>
944</section>
945<section id="l24">
946<title>
947<p>24</p>
948</title>
949<p>
950<code>http://example.com/?foo=1&amp;bar=2</code>
951</p>
952</section>
953<section id="l25">
954<title>
955<p>25</p>
956</title>
957<p>
958<code>http://example.com/</code>
959</p>
960</section>
961<section id="l26">
962<title>
963<p>26</p>
964</title>
965<p>
966<code>mailto:nobody@nowhere.net</code>
967</p>
968</section>
969<section id="l27">
970<title>
971<p>27</p>
972</title>
973<p>
974<code>http://example.com/</code>
975</p>
976</section>
977<section id="n28">
978<title>
979<p>28</p>
980</title>
981<p>Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.</p>
982</section>
983<section id="n29">
984<title>
985<p>29</p>
986</title>
987<p>Here’s the long note. This one contains multiple blocks.</p>
988<p>Subsequent blocks are indented to show that they belong to the footnote (as with list items).</p>
989<empty-line />
990<p>
991<code> { &lt;code&gt; }</code>
992</p>
993<empty-line />
994<p>If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.</p>
995</section>
996<section id="n30">
997<title>
998<p>30</p>
999</title>
1000<p>This is <emphasis>easier</emphasis> to type. Inline notes may contain links<a l:href="#l30" type="note">
1001<sup>[30]</sup>
1002</a> and <code>]</code> verbatim characters, as well as [bracketed text].</p>
1003</section>
1004<section id="n31">
1005<title>
1006<p>31</p>
1007</title>
1008<p>In quote.</p>
1009</section>
1010<section id="n32">
1011<title>
1012<p>32</p>
1013</title>
1014<p>In list.</p>
1015</section>
1016</body>
1017</FictionBook>