mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-02 21:55:44 +00:00
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.
48 lines
320 B
Markdown
48 lines
320 B
Markdown
```
|
|
% 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
|
|
:::
|
|
```
|