Closed ashmaroli closed 2 years ago
Hi @ashmaroli!
I can confirm that this is a bug in the kramdown HTML converter.
Thank you for looking into this, @gettalong :)
@ashmaroli Fix will be released in a bit.
Thanks for the quick fix, @gettalong i confirm that this issue has been resolved with kramdown-2.4.0
But I don't see the change on the master
branch nor a REL_2_4_0
tag pushed to this repo..
@ashmaroli Thanks, fixed!
Hi, the following discrepancy was detected while investigating https://github.com/jekyll/jekyll/issues/8990
For context, Jekyll sets
config["syntax_highlighter_opts"]["default_lang"] ||= "plaintext"
prior to passingconfig
onto kramdown. With this set up, when Jekyll renders the following snippet:into:
Note how code-span gets
language-plaintext
assigned while the code-block getslanguage-ruby
.I'm not saying this is a bug with kramdown. But would like to get your opinion on the situation.