[PATCH] match other common markdown file extensions
Chris Burroughs
chris.burroughs at gmail.com
Thu Jul 17 15:44:13 CEST 2014
---
filters/about-formatting.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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; ;;
--
1.7.10.4
More information about the CGit
mailing list