aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Burroughs <chris.burroughs@gmail.com>2014-07-17 09:44:13 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2014-12-23 19:10:11 -0700
commit62affc0e91f3f322f0b7c27f67f527845e857c82 (patch)
tree8f4672f0f9331d6abb367c6635c8d9599565eb08
parent96ceb9a95a7a321209cff347fefd141a9fffc7ca (diff)
downloadcgit-62affc0e91f3f322f0b7c27f67f527845e857c82.tar.gz
cgit-62affc0e91f3f322f0b7c27f67f527845e857c82.tar.bz2
match other common markdown file extensions
-rwxr-xr-xfilters/about-formatting.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/about-formatting.sh b/filters/about-formatting.sh
index 892fbeb..d024204 100755
--- a/filters/about-formatting.sh
+++ b/filters/about-formatting.sh
@@ -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; ;;