[DRE-maint] Bug#833788: Bug#833788: Bug#833788: Fails to insert <pre> tags around code blocks

Cédric Boutillier boutil at debian.org
Thu Aug 25 04:37:46 UTC 2016


Hi again,

I have been maybe a bit optimistic. 3.2 is still not ready for rouge2,
but there is work upstream and maybe it will be integrated in 3.3.
The problem you see is related I think to an incompatibility with
kramdown, the default markdown renderer, and the version 2 of rouge, the
default syntax highlighter.

The WIP from upstream members is available in a pull request:
https://github.com/jekyll/jekyll/pull/5230
but using this patch fixes some issues (pre missing for fenced code blocks),
it doesn't seem to help for indented code blocks...

I was able to see again pre tags for your code block by either replacing
kramdown by redcarpet, or rouge by coderay or pygments (which was I
think the default syntax highlighter in Jekyll 2.x).
This might be a workaround for your issue.

Cheers,

Cédric



More information about the Pkg-ruby-extras-maintainers mailing list