Closed johnsvenn closed 6 years ago
This needs a rebase
Sure, I'll have a look. Part of it is identical to #148 anyway. Cheers
Due to merge conflicts I manually implemented these changes via 4cc7a99 (with full credit to @johnsvenn). Thanks so much for the contribution!
@colinodell Thank you, that's very kind. Sorry I didn't get round to sorting it myself.
Thanks for this incredibly useful code.
I've been converting lots of HTML with code snippets and come across the following: All the other block level elements apart from
<pre>
are followed by \n\n when they are converted.This is inconsistent and it also seems that the resulting markdown doesn't get converted back to HTML consistently in different parsers.
Therefore when a multiline
<pre>
or<pre><code>
is converted to ``` I've added \n\n afterwards.Cheers