2020-11-15 00:09:44 +01:00
|
|
|
```
|
|
|
|
% pandoc -t markdown --markdown-headings=setext
|
|
|
|
## Hi
|
|
|
|
|
|
|
|
### Ok
|
|
|
|
^D
|
|
|
|
Hi
|
|
|
|
--
|
|
|
|
|
|
|
|
### Ok
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -t markdown+lhs
|
|
|
|
# Hi
|
|
|
|
^D
|
2022-01-22 00:01:50 +01:00
|
|
|
2> [WARNING] Rendering heading 'Hi' as a paragraph.
|
|
|
|
2> ATX headings cannot be used in literate Haskell, because '#' is not
|
|
|
|
2> allowed in column 1. Consider using --markdown-headings=setext.
|
2020-11-15 00:09:44 +01:00
|
|
|
Hi
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -t markdown --markdown-headings=atx
|
|
|
|
Hi
|
|
|
|
--
|
|
|
|
^D
|
|
|
|
## Hi
|
|
|
|
```
|