pandoc/test/command/indented-fences.md
John MacFarlane 1592d38821 Allow fenced code blocks to be indented 1-3 spaces.
This brings our handling of them into alignment with
CommonMark's.

Closes #??.
2017-11-09 23:22:44 -05:00

20 lines
263 B
Markdown

`````
% 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"]
`````