I don't want jekyll to render markdown code block


#1

Hello,

I have this markdown https://github.com/lepinekong/mycodesnippets/blob/master/jekyll/leap-day.theme.md which is correctly rendered on github

but through jekyll theme, it renders code block so that it is different from markdown rendered on github:

http://mycodesnippets.space/jekyll/leap-day.theme

Is it possible to change this behavior ?

Thanks.


#2

You need to wrap it with Jekyll’s raw tag so the Liquid isn’t processed.

{% raw %}
your code block
{% endraw %}