nim-markdown
nim-markdown copied to clipboard
Inline markdown with unmodified normal text
Hi,
The blow code
let doc = "*Italic* **bold** normal"
echo markdown(doc, root = Paragraph())
echo markdown(doc, root = Inline())
gives the following output
<p><em>Italic</em> <strong>bold</strong> normal</p>
<em>Italic</em>
<strong>bold</strong>
n
o
r
m
a
l
I need the first (Paragraph
) output, but without the <p>
tag and with the normal
word as a single line as shown below
<em>Italic</em> <strong>bold</strong> normal
How the above output can be achieved?
Thank you, Vlad