about summary refs log tree commit diff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cgit-taz/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/web/cgit-taz/default.nix b/web/cgit-taz/default.nix
index 314282caa1d5..fbb4cd9bc204 100644
--- a/web/cgit-taz/default.nix
+++ b/web/cgit-taz/default.nix
@@ -15,13 +15,17 @@ let
     patches = old.patches ++ [ ./cgit_depot_url.patch ];
   });
 
+  cmarkFilter = writeShellScript "pulldown-cmark-filter.sh" ''
+    exec ${pulldown-cmark}/bin/pulldown-cmark -TFSL
+  '';
+
   cgitConfig = writeText "cgitrc" ''
     # Global configuration
     virtual-root=/
     enable-http-clone=1
     readme=:README.md
-    about-filter=${monocgit}/lib/cgit/filters/about-formatting.sh
-    source-filter=${monocgit}/lib//cgit/filters/syntax-highlighting.py
+    about-filter=${cmarkFilter}
+    source-filter=${monocgit}/lib/cgit/filters/syntax-highlighting.py
     enable-log-filecount=1
     enable-log-linecount=1
     enable-follow-links=1