diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-03-08 12:23:01 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-03-08 12:23:01 +0100 |
commit | 2c67101c7db845201c901775bd4be27b17391856 (patch) | |
tree | 54dd88548da0e5402e9c13f293565471e481846f /test | |
parent | 2645ce7acacc9050643cad1dbdf0d9759270765c (diff) | |
download | pandoc-2c67101c7db845201c901775bd4be27b17391856.tar.gz |
Added test case for #3497.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/3497.md | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/test/command/3497.md b/test/command/3497.md new file mode 100644 index 000000000..326817b0d --- /dev/null +++ b/test/command/3497.md @@ -0,0 +1,51 @@ +Escape list markers at beginning of paragraph: + +``` +% pandoc -t markdown +\* ok + +\+ ok + +\- ok + +1\. ok + +a\. ok +^D +\* ok + +\+ ok + +\- ok + +1\. ok + +a\. ok +``` + +Here we don't need to escape because there's no space: + +``` +% pandoc -t markdown +\+ok + +\-ok + +1.ok +^D ++ok + +-ok + +1.ok +``` + +Also escape things that might become line blocks or tables: + +``` +% pandoc -t markdown +\| hi \| +^D +\| hi | +``` + |