pandoc/test/command/toc.md
2019-12-17 11:59:52 -08:00

287 B

% 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
=

b
-

B
=

b
-

::: {.interior}
C
=

cc
--

D
=
:::

::: {.blue}
E
=

e
-
:::