mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 13:15:51 +00:00
Update the test so it reflects the right output, and fix the solution. Really closes #11006.
57 lines
895 B
Markdown
57 lines
895 B
Markdown
```
|
|
% pandoc -f html -t asciidoc
|
|
<ul>
|
|
<li>
|
|
<p>Paragraph one</p>
|
|
<p>Paragraph two to force a list continuation</p>
|
|
<ul>
|
|
<li>First nested</li>
|
|
<li>Second nested</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
<p>How about ordered lists?</p>
|
|
|
|
<ol>
|
|
<li>
|
|
<p>Paragraph one</p>
|
|
<p>Paragraph two to force a list continuation</p>
|
|
<ol><li>Nested item</li></ol>
|
|
</li>
|
|
</ol>
|
|
|
|
<p>With non-default attributes:</p>
|
|
|
|
<ol>
|
|
<li>
|
|
<p>Paragraph one</p>
|
|
<p>Paragraph two to force a list continuation</p>
|
|
<ol start=5><li>Nested item</li></ol>
|
|
</li>
|
|
</ol>
|
|
^D
|
|
* Paragraph one
|
|
+
|
|
Paragraph two to force a list continuation
|
|
|
|
** First nested
|
|
** Second nested
|
|
|
|
How about ordered lists?
|
|
|
|
. Paragraph one
|
|
+
|
|
Paragraph two to force a list continuation
|
|
|
|
.. Nested item
|
|
|
|
With non-default attributes:
|
|
|
|
. Paragraph one
|
|
+
|
|
Paragraph two to force a list continuation
|
|
[start=5]
|
|
.. Nested item
|
|
```
|