Fix #362, update code with upstream

This commit is contained in:
Unknwon committed 2014-08-23 21:13:55 +08:00
1 parent b765229a6d
commit 97a373f5e7
3 files changed
+387 -107

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ func isLink(link []byte) bool {
func IsMarkdownFile(name string) bool {
name = strings.ToLower(name)
switch filepath.Ext(name) {
case ".md", ".markdown", ".mdown":
case ".md", ".markdown", ".mdown", ".mkd":
return true
}
return false