jgm/pandoc — Issue #420: Indented code ignoreed
Author: aiiskoplusaiist
Created: 2012-02-15 20:06:06+00:00
State: open

Say you have a source created by an application such as Texts that contains this:

"""
~~~
some piece of code
~~~

~~~
indented piece of code
~~~
"""

Pandoc appears to ignore the indented lines. The "~~~" needs to be unindented like so:

"""
~~~
some piece of code
~~~

~~~
indented piece of code
~~~
"""

for pandoc to recognise it. I've created a python script to workaround this temporarily for myself but it would be good if someone could fix this for everyone. I don't expect it should be too hard :)

Thanks.