Light Speed
Zola theme with a perfect Lighthouse score

Code Snippets

Posted on

Code blocks.. with automatic syntax highlighting!

def add(x: Int, y: Int): Int = x + y
println(add(1, 2)) // 3

See the docs for options.


Zola defines a few default shortcodes, including to embed a Github gist.

The arguments are:

Usage example:

{{ gist(url="") }}

{{ gist(url="", class="gist") }}

Result example: