Hi,
I've searched the archive for this, but wasn't able to find it.
I'm using pandoc 2.7.3 under Mac OS X to convert docs from Markdown to Asciidoc. Some of these may later be converted to HTML and/or PDF.
The issue is that when converting inline code, pandoc surrounds the text with back-ticks AND plus signs, but both are not required by asciidoc, only one or the other. So the question is: how do I get the plus signs to go away?
Here's a trivial example:
echo 'Normal text `this is code`' |pandoc - -o- -f markdown -t asciidoc
Normal text `+this is code+`
If this output is then converted to HTML, the plus signs are rendered as if they had been part of the original text:
echo 'Normal text `this is code`' |pandoc - -o- -f markdown -t asciidoc |asciidoc -o- -b xhtml11 -
<div id="content">
<div class="paragraph"><p>Normal text <code>+this is code+</code></p></div>
</div>
(I've omitted some of the HTML output for clarity.)
Thanks in advance for any help.