From 6490cd583916f1dbb5d2508e98b37883ce2ef813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Laboissi=C3=A8re?= Date: Sun, 11 Dec 2022 05:05:22 -0300 Subject: cgitrc: Allow syntax hightlighting --- cgitrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cgitrc') diff --git a/cgitrc b/cgitrc index 4306062..1bef5d1 100644 --- a/cgitrc +++ b/cgitrc @@ -10,5 +10,8 @@ robots=noindex, nofollow # Allow http transport git clone enable-http-clone=1 +# Syntax highlighting via Pygments +source-filter=/usr/lib/cgit/filters/syntax-highlighting.py + # Allowed repos include=/etc/cgitrepos -- cgit v1.2.3