mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 11:57:16 +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.
629 B
629 B
% pandoc -f html -t markdown-raw_html-bracketed_spans-native_spans
<ul>
<li>foo</li>
<li id="id">bar</li>
<li>baz</li>
</ul>
^D
- foo
- bar
- baz
% pandoc -f html -t markdown-raw_html-bracketed_spans-native_spans
<ul>
<li>foo</li>
<li id="id">bar<ul><li>subbar</li></ul></li>
<li>baz</li>
</ul>
^D
- foo
- bar
- subbar
- baz
% pandoc -f html -t markdown
<ul>
<li>foo</li>
<li id="id">bar</li>
<li>baz</li>
</ul>
^D
- foo
- [bar]{#id}
- baz
% pandoc -f html -t markdown
<ul>
<li><p>foo</p></li>
<li id="id"><p>bar</p></li>
<li><p>baz</p></li>
</ul>
^D
- foo
- ::: {#id}
bar
:::
- baz