X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/f1fb521a0510cebb4971adf86de39d01cc316df2..63d35e556f294f60891c0611d9944202dc10e662:/filters/about-formatting.sh diff --git a/filters/about-formatting.sh b/filters/about-formatting.sh index 892fbeb..85daf9c 100755 --- a/filters/about-formatting.sh +++ b/filters/about-formatting.sh @@ -3,7 +3,7 @@ # This may be used with the about-filter or repo.about-filter setting in cgitrc. # It passes formatting of about pages to differing programs, depending on the usage. -# Markdown support requires perl. +# Markdown support requires python and markdown-python. # RestructuredText support requires python and docutils. # Man page support requires groff. @@ -19,7 +19,7 @@ cd "$(dirname $0)/html-converters/" case "$(printf '%s' "$1" | tr '[:upper:]' '[:lower:]')" in - *.md|*.mkd) exec ./md2html; ;; + *.markdown|*.mdown|*.md|*.mkd) exec ./md2html; ;; *.rst) exec ./rst2html; ;; *.[1-9]) exec ./man2html; ;; *.htm|*.html) exec cat; ;;