Escaping code in code block with Jekyll
Overview
Today, when writing a post, I ran in to an interesting error. I was getting Liquid errors while running my blog locally, from a code block in a post.
I was having a hard time figuring out how to tell Jekyll this was just code in a code block. Finally, I found out you can escape the code using raw
:
For example:
I still had to put the \
in the block above to get it to escape the example, so I am still learning as well.