MarkdownViewerPlusPlus icon indicating copy to clipboard operation
MarkdownViewerPlusPlus copied to clipboard

Fenced code blocks

Open p11h opened this issue 7 years ago • 2 comments

When exporting to HTML, the <pre> and <code> tags for fenced code blocks are separated, and the <code> tag indented on a new line.

    <pre>
        <code>aaa
...
</code>
    </pre>

Something like the above occurs, and as a result the first line of code is preceded by whitespace, and an extra line is included at the end:

        aaa
...

The HTML to Clipboard produces the expected HTML:

<pre><code>aaa
...
</code></pre>

And the desired result:

aaa
...

p11h avatar May 09 '17 03:05 p11h

Hey @stezmi

Uh, ok. Yeah, I do some pre-processing I probably shouldn't do if the clipboard output is correct ^^'

Will check on that.

Thanks

nea avatar May 09 '17 06:05 nea

What's the status on this one?

Pyroseza avatar Dec 06 '17 11:12 Pyroseza