pandoc/test/command/5304.md
Jan Tojnar e9c0f9f97b
Markdown writer: Cleaner (code)blocks with single class (#7242)
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.
2021-04-25 10:36:06 -07:00

24 lines
243 B
Markdown

````
% pandoc -f markdown -t markdown
``` {.markdown}
`«sträng»`
`` «sträng» ``
``` «sträng» ```
````«sträng»````
...
```
^D
``` markdown
`«sträng»`
`` «sträng» ``
``` «sträng» ```
````«sträng»````
...
```
````