Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Code blocks need to be pre/code not code/pre #55

scottchiefbaker opened this Issue · 2 comments

2 participants


I'm using highlight.js and it likes code blocks to be <pre><code> not <code><pre>. Can we add an option to flip those?


@scottchiefbaker As I see it, Parsedown is doing it right, <pre><code>. You can test it yourself here:


You're absolutely right. My bad. I had some JS that was inserting another pre that was confusing me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.