mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-03 14:15:40 +00:00
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.
15 lines
100 B
Markdown
15 lines
100 B
Markdown
~~~
|
|
% pandoc -t markdown
|
|
``````{.attr}
|
|
```
|
|
code
|
|
```
|
|
``````
|
|
^D
|
|
```` attr
|
|
```
|
|
code
|
|
```
|
|
````
|
|
~~~
|