Escaping double curly braces in Jekyll

Reading time ~1 minute

Double Curly braces are reserved characters in the Jekyll world. Double curly braces can be used to refer to internal variables and functions. Therefore we have to escape them if we want to have them as texts. The common use case is when you want to show some Jekyll examples like in this post. You can achieve this by using the “raw tag” available in Jekyll.

See the code below for an example.

{% raw  %} {{ some.var  }} {% endraw  %}

An alternative method is to use double quotes to make part of it a string literal.

 {{ "{{ some.var "}} }} 

Hope this helps you in writing your next Jekyll posts.

Online Pomodoro Timer

An Online Pomodoro Timer you can use to practice Pomodoro Technique Continue reading

Purging Git Branches

Published on October 12, 2015

Running Clustered Integration Tests in WSO2 MB

Published on October 05, 2015