imathis/octopress — Issue #265: Would like an example of embedding (escaping) liquid tags in a code block
Author: mattharrison
Created: 2011-11-09 14:01:32+00:00
State: open

I spent a few minutes this morning trying to put a liquid template inside a code block and kept getting the following error:
```
Liquid Exception: Tag '{%' was not properly terminated with regexp: /\%\}/ in 2011-11-09-creating-category-feeds-in-octopress.markdown
```
This answer proved to be less effective, since it didn't work in my case.
http://stackoverflow.com/questions/3426182/how-to-escape-liquid-template-tags

As a workaround I used an ``include_code`` tag, but I would like to know how to do this using ``codeblock``.