[:end_of_string] is not a valid expression in "{{}}"


I am getting this error

in this markdown file.

Does anyone know what’s the error and how to fix it?


Its the code block with {{ title }}

Jekyll doesn’t escape Liquid in code blocks. It’s trying to render it. You’ll need to wrap it or the entire code block with {% raw %} {% endraw %} to force Jekyll to ignore it.


Still getting the same error.


Try {% raw %} {% endraw %}. I made a typo above.