What are these curly brackets?

I mentioned in my previous post that Drafts was “corrupting” files containing curly brackets. These brackets are part of the Liquid templating language which is used by Jekyll to turn templates into html.

There are two types of markup in Liquid: Output and Tag.

Output markup (which may resolve to text) is surrounded by {{matched pairs of curly brackets (ie, braces) }} Tag markup (which cannot resolve to text) is surrounded by {% matched pairs of curly brackets and percent signs %}

Further concise explanation can be found here.

Posted in Software with : Jekyll, Markdown

Written on January 10, 2015 at 14:01