I use Jekyll to publish blogs. When I write "{% ...%}" in my markup files, it seems that "{% ...%}" will be parsed by Liquid. But sometimes this is not what I want, and can cause errors. So, how to correctly include texts like "{% ...%}" in my message (.md file)?
I checked the Liquid docs and found out that I can use the Block Tag {% raw %} ... {% end raw %} to include raw text between them. However, I do not think this is a good idea. Since if the markdown file was not analyzed by Liquid (for example, in some environment other than Jekyll), this will leave unused {% raw%} in my text.
Correct me if I say something wrong.
PS: I use GitHub pages for hosting and they disable plugins.
source share