From: Patrick Date: Mon, 14 Apr 2025 14:30:14 +0000 (+0200) Subject: add markdown to cgit X-Git-Url: https://gitweb.ps.run/flake_server/commitdiff_plain/888431bec67959d527553116b417b8d37fb9b3a4 add markdown to cgit --- diff --git a/configuration.nix b/configuration.nix index e7e0af5..08c1921 100644 --- a/configuration.nix +++ b/configuration.nix @@ -102,6 +102,7 @@ btop htop systemctl-tui tmux + md4c pkg-config ]; @@ -217,6 +218,10 @@ configText = '' scan-path=/srv/git robots=noindex, nofollow + readme=:readme.md + about-filter=${pkgs.writeShellScript "markdown" '' + ${pkgs.md4c}/bin/md2html --github --ftables + ''} ''; }; gitweb.enable = true;