diff options
author | 2025-01-15 14:51:35 +0100 | |
---|---|---|
committer | 2025-01-15 14:51:35 +0100 | |
commit | b9953cd410686e0be3cfa4a1f5fc65cc05af0dd7 (patch) | |
tree | 3556b28d3c923a5f68903ca7404b1dea66ccab23 /image | |
parent | e7ef1c5d8b3e0c0fde38938962775711c8ff465b (diff) | |
download | cgit-oci-b9953cd410686e0be3cfa4a1f5fc65cc05af0dd7.tar.gz cgit-oci-b9953cd410686e0be3cfa4a1f5fc65cc05af0dd7.tar.bz2 cgit-oci-b9953cd410686e0be3cfa4a1f5fc65cc05af0dd7.tar.lz cgit-oci-b9953cd410686e0be3cfa4a1f5fc65cc05af0dd7.zip |
fix: md cannot really be highlighted in some places in cgit atm due to problems
Diffstat (limited to 'image')
-rwxr-xr-x | image/filters/syntax-highlighting.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/image/filters/syntax-highlighting.sh b/image/filters/syntax-highlighting.sh index 1bd02b1..46ad2bb 100755 --- a/image/filters/syntax-highlighting.sh +++ b/image/filters/syntax-highlighting.sh @@ -1,8 +1,5 @@ #!/bin/sh set -e -if [[ "$1" == *.md ]]; then - exec markdown-tool -fi echo -n "<pre>" bat -pp --color always --file-name "$1" | ansi2html -i echo -n '</pre>' |