neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit 62affc0e91f3f322f0b7c27f67f527845e857c82
parent 96ceb9a95a7a321209cff347fefd141a9fffc7ca
Author: Chris Burroughs <chris.burroughs@gmail.com>
Date:   Thu, 17 Jul 2014 09:44:13 -0400

match other common markdown file extensions

Diffstat:
Mfilters/about-formatting.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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; ;;