This is an example of a post which includes a feature image specified in the front matter of the post. The feature image spans the full-width of the page, and is shown with the title on permalink pages.

def foo
  puts 'foo'
end

Highlighting for code in Jekyll is done using Rouge.

// count to ten
for (var i = 1; i <= 10; i++) {
    console.log(i);
}

// count to twenty
var j = 0;
while (j < 20) {
    j++;
    console.log(j);
}

Type Theme uses KaTeX to display maths. Equations such as can be displayed inline.

Alternatively, they can be shown on a new line: