A bunch of my repositories have a README.markdown file, so I made this change to about-formatting.sh in order to properly highlight them. I'm not sure if there's a more flexible way of doing this -- I attached the diff here:
>From f975ed66eeabfa4eed23dea2bf3ddd6b8ff6220f Mon Sep 17 00:00:00 2001 From: Nik Nyby <[email protected]> Date: Wed, 30 Jul 2014 11:03:27 -0400 Subject: [PATCH] Format *.markdown files as markdown --- 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..da42916 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; ;; + *.md|*.mkd|*.markdown) exec ./md2html; ;; *.rst) exec ./rst2html; ;; *.[1-9]) exec ./man2html; ;; *.htm|*.html) exec cat; ;; -- 1.9.1
_______________________________________________ CGit mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/cgit
