github pages - Is it possible to have Jekyll automatically render code blocks raw? -


i'm trying have jekyll site hosted on github, , have lot of code blocks have code similar liquid templates. problematic because jekyll tries render it, though whatever variable or function doesn't exist

i know it's possible escape using {% raw %} ... {% endraw %}, there way make jekyll compile code raw? don't think i'll ever need use jekyll's functionality in code block, , i'd rather stick normal markdown syntax.

but there way make jekyll compile code raw?

not (i don't see configuration enable raw defaultà, considering jekyll has interpret other liquid templates outside of code block.

as seen in jekyll issue 5549, {% raw %} remains official solution.


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -