ci/treefmt: add markdown-code-runner

This was run as a test in `doc/tests/check-nix-code-blocks.nix` before,
but its DX can be improved: By including it in `treefmt` we get better
error reporting and auto-fixing, as well as running it on *all* markdown
files (including READMEs etc.) for free.
This commit is contained in:
Wolfgang Walther
2025-07-22 16:12:42 +02:00
parent fed181fac1
commit a7b3b2584a
4 changed files with 17 additions and 36 deletions

View File

@@ -137,7 +137,6 @@ stdenvNoCC.mkDerivation (
tests = {
manpage-urls = callPackage ../tests/manpage-urls.nix { };
check-nix-code-blocks = callPackage ../tests/check-nix-code-blocks.nix { };
};
};
}