diff options
Diffstat (limited to 'test/fb2')
-rw-r--r-- | test/fb2/basic.fb2 | 78 | ||||
-rw-r--r-- | test/fb2/meta.fb2 | 3 | ||||
-rw-r--r-- | test/fb2/meta.markdown | 7 |
3 files changed, 82 insertions, 6 deletions
diff --git a/test/fb2/basic.fb2 b/test/fb2/basic.fb2 index 9dc1926f1..df71e8456 100644 --- a/test/fb2/basic.fb2 +++ b/test/fb2/basic.fb2 @@ -1,9 +1,75 @@ <?xml version="1.0" encoding="UTF-8"?> -<FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0" xmlns:l="http://www.w3.org/1999/xlink"><description><title-info><genre>unrecognised</genre></title-info><document-info><program-used>pandoc</program-used></document-info></description><body><title><p /></title><section><title><p>Top-level title</p></title><section><title><p>Section</p></title><section><title><p>Subsection</p></title><p>This <emphasis>emphasized</emphasis> <strong>strong</strong> <code>verbatim</code> markdown. -See this link<a l:href="#l1" type="note"><sup>[1]</sup></a>.</p><p>Ordered list:</p><p>1. one</p><p>2. two</p><p>3. three</p><cite><p>Blockquote +<FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0" xmlns:l="http://www.w3.org/1999/xlink"> +<description> +<title-info> +<genre>unrecognised</genre> +</title-info> +<document-info> +<program-used>pandoc</program-used> +</document-info> +</description> +<body> +<title> +<p /> +</title> +<section> +<title> +<p>Top-level title</p> +</title> +<section> +<title> +<p>Section</p> +</title> +<section> +<title> +<p>Subsection</p> +</title> +<p>This <emphasis>emphasized</emphasis> <strong>strong</strong> <code>verbatim</code> markdown. +See this <a l:href="http://example.com/">link</a>.</p> +<p>Ordered list:</p> +<p>1. one</p> +<p>2. two</p> +<p>3. three</p> +<cite> +<p>Blockquote is for -citatons.</p></cite><empty-line /><p><code>Code</code></p><p><code>block</code></p><p><code>is</code></p><p><code>for</code></p><p><code>code.</code></p><empty-line /><p><strikethrough>Strikeout</strikethrough> is Pandoc’s extension. -Superscript and subscripts too: H<sub>2</sub>O is a liquid<a l:href="#n2" type="note"><sup>[2]</sup></a>. -2<sup>10</sup> is 1024.</p><p>Math is another Pandoc extension: <code>E = m c^2</code>.</p></section></section></section></body><body name="notes"><section id="l1"><title><p>1</p></title><p><code>http://example.com/</code></p></section><section id="n2"><title><p>2</p></title><p>Sometimes.</p></section></body></FictionBook> - +citatons.</p> +</cite> +<empty-line /> +<p> +<code>Code</code> +</p> +<p> +<code>block</code> +</p> +<p> +<code>is</code> +</p> +<p> +<code>for</code> +</p> +<p> +<code>code.</code> +</p> +<empty-line /> +<p> +<strikethrough>Strikeout</strikethrough> is Pandoc’s extension. +Superscript and subscripts too: H<sub>2</sub>O is a liquid<a l:href="#n1" type="note"> +<sup>[1]</sup> +</a>. +2<sup>10</sup> is 1024.</p> +<p>Math is another Pandoc extension: <code>E = m c^2</code>.</p> +</section> +</section> +</section> +</body> +<body name="notes"> +<section id="n1"> +<title> +<p>1</p> +</title> +<p>Sometimes.</p> +</section> +</body> +</FictionBook> diff --git a/test/fb2/meta.fb2 b/test/fb2/meta.fb2 new file mode 100644 index 000000000..04bd5f3c5 --- /dev/null +++ b/test/fb2/meta.fb2 @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="UTF-8"?> +<FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0" xmlns:l="http://www.w3.org/1999/xlink"><description><title-info><genre>unrecognised</genre><book-title>Book title</book-title><annotation><p>This is the abstract.</p>It consists of two paragraphs.</annotation></title-info><document-info><program-used>pandoc</program-used></document-info></description><body><title><p>Book title</p></title></body></FictionBook> + diff --git a/test/fb2/meta.markdown b/test/fb2/meta.markdown new file mode 100644 index 000000000..5edad2981 --- /dev/null +++ b/test/fb2/meta.markdown @@ -0,0 +1,7 @@ +--- +title: Book title +abstract: | + This is the abstract. + + It consists of two paragraphs. +--- |