diff options
Diffstat (limited to 'test/command/6837.md')
| -rw-r--r-- | test/command/6837.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test/command/6837.md b/test/command/6837.md new file mode 100644 index 000000000..cb35e19a1 --- /dev/null +++ b/test/command/6837.md @@ -0,0 +1,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 +``` |
