diff options
Diffstat (limited to 'test/writer.fb2')
-rw-r--r-- | test/writer.fb2 | 106 |
1 files changed, 55 insertions, 51 deletions
diff --git a/test/writer.fb2 b/test/writer.fb2 index 2136a6d8e..641d833cd 100644 --- a/test/writer.fb2 +++ b/test/writer.fb2 @@ -22,9 +22,8 @@ <p>Pandoc Test Suite</p> </title> <section> -<p>This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite.</p> -<empty-line /> -<p>——————————</p> +<p>This is a set of tests for pandoc. Most of them are adapted from +John Gruber’s markdown test suite.</p> <empty-line /> </section> <section> @@ -78,8 +77,6 @@ </title> <p>with no blank line</p> <empty-line /> -<p>——————————</p> -<empty-line /> </section> </section> <section> @@ -87,11 +84,15 @@ <p>Paragraphs</p> </title> <p>Here’s a regular paragraph.</p> -<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> -<p>Here’s one with a bullet. * criminey.</p> -<p>There should be a hard line break<empty-line />here.</p> -<empty-line /> -<p>——————————</p> +<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> +<p>Here’s one with a bullet. +* criminey.</p> +<p>There should be a hard line break +here.</p> <empty-line /> </section> <section> @@ -100,7 +101,8 @@ </title> <p>E-mail style:</p> <cite> -<p>This is a block quote. It is pretty short.</p> +<p>This is a block quote. +It is pretty short.</p> </cite> <cite> <p>Code in a block quote:</p> @@ -126,11 +128,10 @@ <p>nested</p> </cite> </cite> -<p>This should not be a block quote: 2 > 1.</p> +<p>This should not be a block quote: 2 +> 1.</p> <p>And a following paragraph.</p> <empty-line /> -<p>——————————</p> -<empty-line /> </section> <section> <title> @@ -176,8 +177,6 @@ </p> <empty-line /> <empty-line /> -<p>——————————</p> -<empty-line /> </section> <section> <title> @@ -250,7 +249,8 @@ <p>Multiple paragraphs:</p> <p>1. Item 1, graf one.</p> <empty-line /> -<p> Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.</p> +<p> Item 1. graf two. The quick brown fox jumped over the lazy dog’s +back.</p> <empty-line /> <p>2. Item 2.</p> <empty-line /> @@ -286,13 +286,17 @@ <title> <p>Tabs and spaces</p> </title> -<p>• this is a list item indented with tabs</p> +<p>• this is a list item +indented with tabs</p> <empty-line /> -<p>• this is a list item indented with spaces</p> +<p>• this is a list item +indented with spaces</p> <empty-line /> -<p>• • this is an example list item indented with tabs</p> +<p>• • this is an example list item +indented with tabs</p> <empty-line /> -<p>• • this is an example list item indented with spaces</p> +<p>• • this is an example list item +indented with spaces</p> <empty-line /> </section> <section> @@ -304,7 +308,8 @@ <empty-line /> <p> with a continuation</p> <empty-line /> -<p>(3) iv. sublist with roman numerals, starting with 4</p> +<p>(3) iv. sublist with roman numerals, +starting with 4</p> <p>(3) v. more items</p> <p>(3) v. (A) a subsublist</p> <p>(3) v. (B) a subsublist</p> @@ -321,8 +326,6 @@ <p>M.A. 2007</p> <p>B. Williams</p> <empty-line /> -<p>——————————</p> -<empty-line /> </section> </section> <section> @@ -379,7 +382,8 @@ </p> <p> red fruit</p> <empty-line /> -<p> contains seeds, crisp, pleasant to taste</p> +<p> contains seeds, +crisp, pleasant to taste</p> <empty-line /> <p> <strong> @@ -481,8 +485,6 @@ <empty-line /> <p>Hr’s:</p> <empty-line /> -<p>——————————</p> -<empty-line /> </section> <section> <title> @@ -518,9 +520,8 @@ <emphasis>hello</emphasis> </sup> a<sup>hello there</sup>.</p> <p>Subscripts: H<sub>2</sub>O, H<sub>23</sub>O, H<sub>many of them</sub>O.</p> -<p>These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.</p> -<empty-line /> -<p>——————————</p> +<p>These should not be superscripts or subscripts, +because of the unescaped spaces: a^b c^d, a~b c~d.</p> <empty-line /> </section> <section> @@ -529,8 +530,10 @@ </title> <p>“Hello,” said the spider. “‘Shelob’ is my name.”</p> <p>‘A’, ‘B’, and ‘C’ are letters.</p> -<p>‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p> -<p>‘He said, “I want to go.”’ Were you alive in the 70’s?</p> +<p>‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. +So is ‘pine.’</p> +<p>‘He said, “I want to go.”’ Were you alive in the +70’s?</p> <p>Here is some quoted ‘<code>code</code>’ and a “quoted link<a l:href="#l3" type="note"> <sup>[3]</sup> </a>”.</p> @@ -538,8 +541,6 @@ <p>Dashes between numbers: 5–7, 255–66, 1987–1999.</p> <p>Ellipses…and…and….</p> <empty-line /> -<p>——————————</p> -<empty-line /> </section> <section> <title> @@ -555,18 +556,18 @@ <p>• <code>223</code> </p> <p>• <code>p</code>-Tree</p> -<p>• Here’s some display math: <code>\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</code> +<p>• Here’s some display math: +<code>\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</code> </p> <p>• Here’s one that has a line break in it: <code>\alpha + \omega \times x^2</code>.</p> <p>These shouldn’t be math:</p> <p>• To get the famous equation, write <code>$e = mc^2$</code>.</p> -<p>• $22,000 is a <emphasis>lot</emphasis> of money. So is $34,000. (It worked if “lot” is emphasized.)</p> +<p>• $22,000 is a <emphasis>lot</emphasis> of money. So is $34,000. +(It worked if “lot” is emphasized.)</p> <p>• Shoes ($20) and socks ($5).</p> <p>• Escaped <code>$</code>: $73 <emphasis>this should be emphasized</emphasis> 23$.</p> <p>Here’s a LaTeX table:</p> <empty-line /> -<p>——————————</p> -<empty-line /> </section> <section> <title> @@ -600,8 +601,6 @@ <p>Plus: +</p> <p>Minus: -</p> <empty-line /> -<p>——————————</p> -<empty-line /> </section> <section> <title> @@ -727,8 +726,6 @@ </p> <empty-line /> <empty-line /> -<p>——————————</p> -<empty-line /> </section> </section> <section> @@ -739,8 +736,6 @@ <image l:href="#image1" l:type="imageType" alt="lalune" title="Voyage dans la Lune" /> <p>Here is a movie <image l:href="#image2" l:type="inlineImageType" alt="movie" /> icon.</p> <empty-line /> -<p>——————————</p> -<empty-line /> </section> <section> <title> @@ -750,7 +745,9 @@ <sup>[29]</sup> </a> and another.<a l:href="#n30" type="note"> <sup>[30]</sup> -</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="#n31" type="note"> +</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="#n31" type="note"> <sup>[31]</sup> </a> </p> @@ -989,28 +986,35 @@ <title> <p>29</p> </title> -<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> +<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> </section> <section id="n30"> <title> <p>30</p> </title> -<p>Here’s the long note. This one contains multiple blocks.</p> -<p>Subsequent blocks are indented to show that they belong to the footnote (as with list items).</p> +<p>Here’s the long note. This one contains multiple +blocks.</p> +<p>Subsequent blocks are indented to show that they belong to the +footnote (as with list items).</p> <empty-line /> <p> <code> { <code> }</code> </p> <empty-line /> -<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> +<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> </section> <section id="n31"> <title> <p>31</p> </title> -<p>This is <emphasis>easier</emphasis> to type. Inline notes may contain links<a l:href="#l31" type="note"> +<p>This +is <emphasis>easier</emphasis> to type. Inline notes may contain +links<a l:href="#l31" type="note"> <sup>[31]</sup> -</a> and <code>]</code> verbatim characters, as well as [bracketed text].</p> +</a> and <code>]</code> verbatim characters, +as well as [bracketed text].</p> </section> <section id="n32"> <title> |