From 29dc0b64307a960d9da1644b384d000c60333479 Mon Sep 17 00:00:00 2001 From: Physick Date: Sun, 15 Mar 2026 19:13:58 +0500 Subject: An attempt to add syntax highlighting --- cgitrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cgitrc b/cgitrc index c725d69..f43bd43 100644 --- a/cgitrc +++ b/cgitrc @@ -4,6 +4,12 @@ logo=/cgit.png virtual-root=/ scan-path=/var/git/ +source-filter=/usr/lib/cgit/filters/syntax-highlighting.py + footer=/footer.html root-title=Physick's git repository browser root-desc=A place to host personal projects made by Physick. Hosted in support of OSS movement + +about-filter=/usr/lib/cgit/filters/about-formatting.sh +readme=:README +readme=:README.md -- cgit v1.3