How to fix style of codeblock?




Is it possible to edit the way jekyll renders the markdown.

In the current senerio the code block in markdown


is rendered like this


But I want it to render the markdown this way



I think markdown automatically adds the code tags, not sure you can get away from that.

Could you remove all the css related to the code tag? or use raw instead? or just manually write the pre’s into an html block - ie not use markdown.


Jekyll doesn’t render the Markdown, Kramdown does. You’d need to hook into that I would think.


Instead of entering raw, I prefer to insert code block in markdown it’s kinda easy.