The filters bundled with Octopress are not applied to files ending in
`.md`, because the match in octopress_filters.rb does not match `.md`.
... | ... |
@@ -24,12 +24,12 @@ module Jekyll |
24 | 24 |
class ContentFilters < PostFilter |
25 | 25 |
include OctopressFilters |
26 | 26 |
def pre_render(post) |
27 |
- if post.ext.match('html|textile|markdown|haml|slim|xml') |
|
27 |
+ if post.ext.match('html|textile|markdown|md|haml|slim|xml') |
|
28 | 28 |
post.content = pre_filter(post.content) |
29 | 29 |
end |
30 | 30 |
end |
31 | 31 |
def post_render(post) |
32 |
- if post.ext.match('html|textile|markdown|haml|slim|xml') |
|
32 |
+ if post.ext.match('html|textile|markdown|md|haml|slim|xml') |
|
33 | 33 |
post.content = post_filter(post.content) |
34 | 34 |
end |
35 | 35 |
end |