Allow .md for markdown files.

This commit is contained in:
Jon Frisby 2013-02-20 11:39:07 -08:00
parent f64fa33d69
commit b555d00fb5

View File

@ -17,7 +17,7 @@ module Jekyll
class ContentFilters < PostFilter
include OctopressFilters
def pre_render(post)
if post.ext.match('html|textile|markdown|haml|slim|xml')
if post.ext.match('html|textile|markdown|md|haml|slim|xml')
post.content = pre_filter(post.content, post.ext)
end
end