mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 05:05:53 +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.
53 lines
744 B
Markdown
53 lines
744 B
Markdown
```
|
|
% pandoc --toc -s -t markdown
|
|
::: {.cell .markdown id="6u8qXoeFGdqt"}
|
|
# Summary
|
|
> Expand to see summary
|
|
|
|
## Overview and Explanation
|
|
:::
|
|
|
|
# Details
|
|
|
|
## inner 1
|
|
text
|
|
|
|
## inner 2
|
|
|
|
### inner inner 1
|
|
|
|
## inner 3
|
|
text
|
|
^D
|
|
- [Summary](#summary){#toc-summary}
|
|
- [Overview and
|
|
Explanation](#overview-and-explanation){#toc-overview-and-explanation}
|
|
- [Details](#details){#toc-details}
|
|
- [inner 1](#inner-1){#toc-inner-1}
|
|
- [inner 2](#inner-2){#toc-inner-2}
|
|
- [inner inner 1](#inner-inner-1){#toc-inner-inner-1}
|
|
- [inner 3](#inner-3){#toc-inner-3}
|
|
|
|
::: {#6u8qXoeFGdqt .cell .markdown}
|
|
# Summary
|
|
|
|
> Expand to see summary
|
|
|
|
## Overview and Explanation
|
|
:::
|
|
|
|
# Details
|
|
|
|
## inner 1
|
|
|
|
text
|
|
|
|
## inner 2
|
|
|
|
### inner inner 1
|
|
|
|
## inner 3
|
|
|
|
text
|
|
```
|