Re: [PATCH] match other common markdown file extensions

2014-12-23 Thread Jason A. Donenfeld
Seems reasonable enough. Merged.
___
CGit mailing list
CGit@lists.zx2c4.com
http://lists.zx2c4.com/mailman/listinfo/cgit


[PATCH] match other common markdown file extensions

2014-07-17 Thread Chris Burroughs
---
 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


___
CGit mailing list
CGit@lists.zx2c4.com
http://lists.zx2c4.com/mailman/listinfo/cgit