aboutsummaryrefslogtreecommitdiff
path: root/test/command/6837.md
blob: cb35e19a1908d014d9c7ca92e67dbd90b7063312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
```
% pandoc -t markdown --markdown-headings=setext
## Hi

### Ok
^D
Hi
--

### Ok
```

```
% pandoc -t markdown+lhs
# Hi
^D
[WARNING] Rendering heading 'Hi' as a paragraph.
  ATX headings cannot be used in literate Haskell, because '#' is not
  allowed in column 1. Consider using --markdown-headings=setext.
Hi
```

```
% pandoc -t markdown --markdown-headings=atx
Hi
--
^D
## Hi
```