mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-26 09:28:52 -05:00
Merge pull request #1055 from MrJoy/allow_short_markdown_extension_redux
Allow .md for markdown files.
This commit is contained in:
commit
4f4af96e8a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user