e9c0f9f97b
When a block only has a single class and no other attributes, it is not necessary to wrap the class attribute in curly braces – the class name can be placed after the opening mark as is. This will result in bit cleaner output when pandoc is used as a markdown pretty-printer.
284 B
284 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
:::