Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
scottchiefbaker opened this Issue · 2 comments

2 participants

@scottchiefbaker

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?

@aahan

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

@scottchiefbaker

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.