From 8893179f513d7bbb0751164d8e7330560c1eef26 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Tue, 7 Apr 2026 23:43:37 -0700 Subject: [PATCH] Specify theme for syntax highlighting --- srv/git/git-shell-commands/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srv/git/git-shell-commands/init b/srv/git/git-shell-commands/init index 3ebdec2..a715d3a 100644 --- a/srv/git/git-shell-commands/init +++ b/srv/git/git-shell-commands/init @@ -53,7 +53,7 @@ git init --bare --quiet cat > "$path/hooks/post-update" << EOL #!/bin/sh git update-server-info -git cat-file blob HEAD:README.md | comrak --gfm > "$(git rev-parse --git-common-dir)/README.html" +git cat-file blob HEAD:README.md | comrak --gfm --syntax-highlighting InspiredGitHub > "$(git rev-parse --git-common-dir)/README.html" git maintenance run EOL chmod a+x "$path/hooks/post-update" -- 2.47.3