diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-02-25 03:37:01 +0000 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-02-25 03:37:01 +0000 |
commit | 90926642b0231002e2b2a1a5e18c10d0f8e8ccea (patch) | |
tree | 8577e48d121a8c7efa6a419ebd41db86cddc31b3 /usr | |
parent | a1a47075a21075884890c52fff0e0d85b2f8dd62 (diff) |
try cgit highlight
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/lib/cgit/filters/syntax-highlighting-edited.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/lib/cgit/filters/syntax-highlighting-edited.sh b/usr/lib/cgit/filters/syntax-highlighting-edited.sh index 840bc34f..3de95fa5 100755 --- a/usr/lib/cgit/filters/syntax-highlighting-edited.sh +++ b/usr/lib/cgit/filters/syntax-highlighting-edited.sh @@ -115,7 +115,7 @@ EXTENSION="${BASENAME##*.}" # found (for example) on EPEL 6. # # This is for version 2 -exec highlight --force -f -I -X -S "$EXTENSION" 2>/dev/null +#exec highlight --force -f -I -X -S "$EXTENSION" 2>/dev/null # This is for version 3 -#exec highlight --force -f -I -O xhtml -S "$EXTENSION" 2>/dev/null +exec highlight --force --inline-css -f -I -O xhtml -S "$EXTENSION" 2>/dev/null |