diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-11-09 11:34:50 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-11-09 23:22:44 -0500 |
commit | 1592d3882142bbb938608e04d179f148453d93bb (patch) | |
tree | 9e41307dd56f64f26470e0eea0c4ffd04934de7f /test | |
parent | f72d7636557b01812dcd13826b7697c3ceb20a76 (diff) | |
download | pandoc-1592d3882142bbb938608e04d179f148453d93bb.tar.gz |
Allow fenced code blocks to be indented 1-3 spaces.
This brings our handling of them into alignment with
CommonMark's.
Closes #??.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/indented-fences.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/command/indented-fences.md b/test/command/indented-fences.md new file mode 100644 index 000000000..eb3b78212 --- /dev/null +++ b/test/command/indented-fences.md @@ -0,0 +1,20 @@ +````` +% pandoc -t native + ```haskell + let x = y +in y + ``` +^D +[CodeBlock ("",["haskell"],[]) "let x = y\nin y"] +````` +````` +% pandoc -t native + ~~~ {.haskell} + let x = y + in y + +y + + y +~~~ +^D +[CodeBlock ("",["haskell"],[]) " let x = y\nin y +\ny +\ny"] +````` |