Can't disable markdown


#1

I’ve got a blog post with of HTML that I want Kramdown to ignore. I wrapped it in

but it didn’t help. You can see the source here:

Note that GitHub seems to render it well. But compare it to here:

https://www.raymondcamden.com/2017/12/04/advent-of-code-2017

and you can see some of the HTML was escaped. Any ideas?


#2

Check your HTML. The list items in your unordered list element are both missing closing </li>s.

That’s probably confusing Kramdown when it parses the mixture of Markdown and HTML.


#3

Oh my god I’m so embarrassed. That was it - and I didn’t even need the divs with markdown=“0”. I’ve been working with HTML for about 20 years now and I can’t believe I didn’t pick up on that. Thank you.