How to fix style of codeblock?


#1


#2

Or

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

In the current senerio the code block in markdown

```html
<html>
</html>
```

is rendered like this

<pre>
<code><html></code>
<code></html></code>
</pre>

But I want it to render the markdown this way

<pre>
<html>
</html>
</pre>

#3

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.


#4

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


#5

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