Note to self: escape LiquidTags with Jekyll raw tag plugin

June 05, 2013

When reviewing my recent AngularJS post, I noticed that none of my template display bindings were showing up. LiquidTags use the same {% raw %}{{ }}{% endraw %} style bindings as AngularJS (and was trying to render my Angular expressions as LiquidTags). Luckily, there is a jekyll plugin called ‘raw tag’ for rendering data that you do not want interpreted as a LiquidTag / etc. Simply place this raw content between {{ ”{% raw ” }}%} and {{ ”{% endraw ” }}%}

For more information check out this Stackoverflow Post


Ryan Lanciaux

Hi 👋 I'm Ryan Lanciaux. I run Spaceship Studio, LLC. a consultancy specializing in fast and dynamic web and native mobile applications.

I live in Ann Arbor with my wonderful family! In my freetime, I create electronic music.

You should follow me on Twitter