pandoc/test/command/toc.md

48 lines
290 B
Markdown
Raw Normal View History

2019-12-17 20:59:29 +01:00
```
% pandoc -s --toc -t markdown
# A
## b
# B
## b
::: interior
# C
## cc
# D
:::
::: blue
# E
## e
:::
^D
- [A](#a)
- [b](#b)
- [B](#b-1)
- [b](#b-2)
- [E](#e)
- [e](#e-1)
# A
2019-12-17 20:59:29 +01:00
## b
2019-12-17 20:59:29 +01:00
# B
2019-12-17 20:59:29 +01:00
## b
2019-12-17 20:59:29 +01:00
::: {.interior}
# C
2019-12-17 20:59:29 +01:00
## cc
2019-12-17 20:59:29 +01:00
# D
2019-12-17 20:59:29 +01:00
:::
::: {.blue}
# E
2019-12-17 20:59:29 +01:00
## e
2019-12-17 20:59:29 +01:00
:::
```