From 055790d9cef77d3ee119a0aac57945d34c47aea2 Mon Sep 17 00:00:00 2001 From: Asmir A Date: Mon, 15 Jun 2026 00:25:46 +0200 Subject: [PATCH] config: migrate markdown highlighting to Zola 0.22 schema The nixpkgs bump to nixos-26.05 pulls in Zola 0.22, which replaced the syntect highlighting backend with Giallo and changed the config schema. Replace the removed `highlight_code` key with a `[markdown.highlighting]` table using the `one-dark-pro` theme. Co-Authored-By: Claude Fable 5 --- config.toml | 3 ++- flake.lock | 8 ++++---- flake.nix | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/config.toml b/config.toml index f19bf7d..1a25847 100644 --- a/config.toml +++ b/config.toml @@ -23,7 +23,8 @@ include_path = false include_content = true [markdown] -highlight_code = true +[markdown.highlighting] +theme = "one-dark-pro" [extra] list_pages = true diff --git a/flake.lock b/flake.lock index 9d4df31..32ec7a7 100644 --- a/flake.lock +++ b/flake.lock @@ -2,16 +2,16 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1699725108, - "narHash": "sha256-NTiPW4jRC+9puakU4Vi8WpFEirhp92kTOSThuZke+FA=", + "lastModified": 1781216227, + "narHash": "sha256-9mUW6gNwoN2SWc/l0fW4svPNOulXLl8ijqKyeSOGgJE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "911ad1e67f458b6bcf0278fa85e33bb9924fed7e", + "rev": "a0374025a863d007d98e3297f6aa46cc3141c2f0", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixpkgs-unstable", + "ref": "nixos-26.05", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index 96a5bed..f764841 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05"; inputs.theme_anemone = { url = "github:Speyll/anemone"; flake = false;