Liquid templates
Jekyll includes a template subsystem called Liquid.
For example, this:
---
day: tuesday
---
hello {{ page.day }}
will produce this:
<p>hello tuesday</p>
Misc
Files without the --- header lines are simply copied to the _site folder.
By default, Jekyll uses kramdown.
Kramdown is a superset of standard Markdown that adds several extensions, including:
- Footnotes —
[^1]style references - Definition lists — using
:syntax - Tables — GitHub-style pipe tables
- Attribute lists —
{: .class #id}to add HTML attributes to elements - Fenced code blocks — with both backticks and tildes, plus an optional language hint
- Math blocks — via
$$...$$(often paired with MathJax or KaTeX) - Inline HTML — mixed freely with Markdown