diff options
fix: md cannot really be highlighted in some places in cgit atm due to problems
-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>' |