mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-10 03:17: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.
320 B
320 B
% pandoc -s --toc -t markdown
# A
## b
# B
## b
::: interior
# C
## cc
# D
:::
::: blue
# E
## e
:::
^D
- [A](#a){#toc-a}
- [b](#b){#toc-b}
- [B](#b-1){#toc-b-1}
- [b](#b-2){#toc-b-2}
- [E](#e){#toc-e}
- [e](#e-1){#toc-e-1}
# A
## b
# B
## b
::: interior
# C
## cc
# D
:::
::: blue
# E
## e
:::