From 1fc68e34e3e761c76ff0de9e83305138132371ac Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Thu, 10 Jul 2025 08:24:46 +0000 Subject: cgit try use md2html from md4c pkg instead of cgit, maybe faster --- usr/lib/cgit/filters/about-formatting-edited.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/lib/cgit') diff --git a/usr/lib/cgit/filters/about-formatting-edited.sh b/usr/lib/cgit/filters/about-formatting-edited.sh index e919e54d..70ca8aa4 100755 --- a/usr/lib/cgit/filters/about-formatting-edited.sh +++ b/usr/lib/cgit/filters/about-formatting-edited.sh @@ -21,7 +21,7 @@ # so need to get those scripts location via $0, $0 is /usr/lib/cgit/filters/about-formatting-edited.sh dir="$(dirname "$0")/html-converters/" case "$(printf '%s' "$1" | tr '[:upper:]' '[:lower:]')" in - *.markdown|*.mdown|*.md|*.mkd) exec cmark;; + *.markdown|*.mdown|*.md|*.mkd) exec md2html;; # *.rst) exec "$dir/rst2html";; *.[1-9]) exec "$dir/man2html";; *.htm|*.html) exec cat;; -- cgit v1.2.3-70-g09d2