Merge pull request #1055 from MrJoy/allow_short_markdown_extension_redux

Allow .md for markdown files.
This commit is contained in:
Parker Moore 2013-02-22 04:50:10 -08:00
commit 4f4af96e8a

View File

@ -17,7 +17,7 @@ module Jekyll
class ContentFilters < PostFilter class ContentFilters < PostFilter
include OctopressFilters include OctopressFilters
def pre_render(post) 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) post.content = pre_filter(post.content, post.ext)
end end
end end