Is it possible to disable code blocks in Jekyll? This would make my .md files more readable.
I have this problem for inline HTML as well as for include.
I use Jekyll to create websites and never want code blocking. Right now I am putting the style inside the HTML as follows:
<div class="coolclass" markdown = 1> <div class="anotherClass">stuff </div> I **love** markdown </div>
<div class="anotherClass">stuff </div> interpreted as a code block if I do not remove the indent.
<div class="coolclass" markdown = 1> <div class="anotherClass">stuff </div> I **love** markdown </div>
I would just disable the code blocks, since I will never show the code.
If kramdown has this parameter, I think jekyll can set it in config like this:
kramdown: auto_id_stripping: true enable_coderay: false
I tried enable_coderay false by reading kramdown docs but did not.
David Silva Smith
source share