mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-10 19:37:12 +00:00
0fe6254535
We used to insert extra spaces to ensure that the content respected the four-space rule. That is not really necessary now, since pandoc's markdown and most markdowns don't follow the four-space rule. Those who want the old behavior can obtain it by using `-t markdown+four_space_rule`. Closes #7172.
572 B
572 B
Nested bullet lists
% pandoc -f html -t markdown
<ul>
<li>L1</li>
<li>L2</li>
<ul>
<li>L3.1</li>
<li>L3.2</li>
</ul>
<li>L4</li>
</ul>
^D
- L1
- L2
- L3.1
- L3.2
- L4
Nested ordered lists
% pandoc -f html -t markdown
<ol>
<li>L1</li>
<li>L2</li>
<ol>
<li>L3.1</li>
<li>L3.2</li>
</ol>
</ol>
^D
1. L1
2. L2
1. L3.1
2. L3.2
Ordered list nested below an unordered list
% pandoc -f html -t markdown
<ul>
<li>L1</li>
<li>L2</li>
<ol>
<li>L3.1</li>
<li>L3.2</li>
</ol>
</ul>
^D
- L1
- L2
1. L3.1
2. L3.2