diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-07-10 08:24:46 +0000 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-07-10 08:24:46 +0000 |
commit | 1fc68e34e3e761c76ff0de9e83305138132371ac (patch) | |
tree | b88162484333e2db868aba7fb7cadc9700ef540a /usr/lib | |
parent | b75338e1b07728e197632f2aa8d2d9d8e74dac22 (diff) |
cgit try use md2html from md4c pkg instead of cgit, maybe faster
Diffstat (limited to 'usr/lib')
-rwxr-xr-x | usr/lib/cgit/filters/about-formatting-edited.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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;; |