Tom's Blog

Hello?

Table of contents

Is this thing on?

A few tests:

Time to run a few tests

Simple syntax highlighting

YAML syntax highlighting

hello:
  world: "it worked?"

Nix syntax highlighting?

{
  nix.enable = true;
}

Ok well that's pretty cool, I didn't configure anything other than

[markdown.highlighting]
light_theme = "dracula"
dark_theme = "dracula"

in my Zola config.toml.

Line numbers and other config for code blocks

this:
  yaml:
    is: 1
  yaml:
    and: 2
  its:
    cool: 3

Hmm I'll need to play with that, the line numbers have not enough padding