I would like to convert an existing DocBook documentation of an OpenSource project to Markdown. (There are about ~770 XML/DocBook files with ~190.000 LoC and ~7 MBytes of combined file size.
Outputting with a default pandoc -t markdown
works well enough to continue with the project.
However, I would like to automatically get fenced code blocks in the output. Is that even possible? Or does pandoc
support the +fenced_code_blocks
extension only with input Markdown, not with output Markdown?
The command I tested with was
pandoc -t markdown+fenced_code_blocks -f docbook -o rpcclient.1.md rpcclient.1.xml
Unfortunately, the output does contain only standard (indented by 4 spaces) code blocks. (The version of my pandoc
is 1.13.2
.)