Fixed mistake in default markdown extensions
This commit is contained in:
parent
5801220a98
commit
d2377b2581
|
@ -65,7 +65,7 @@ module Jekyll
|
||||||
'markdown' => 'maruku',
|
'markdown' => 'maruku',
|
||||||
'permalink' => 'date',
|
'permalink' => 'date',
|
||||||
|
|
||||||
'markdown_ext' => 'markdown,mdw,mdwn,md',
|
'markdown_ext' => 'markdown,mkd,mkdn,md',
|
||||||
'textile_ext' => 'textile',
|
'textile_ext' => 'textile',
|
||||||
|
|
||||||
'maruku' => {
|
'maruku' => {
|
||||||
|
|
|
@ -419,7 +419,7 @@ class TestPost < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
should "process .md as markdown under alternate configuration" do
|
should "process .md as markdown under alternate configuration" do
|
||||||
@site.config['markdown_ext'] = 'markdown,mdw,mdwn,md,text'
|
@site.config['markdown_ext'] = 'markdown,mkd,mkdn,md,text'
|
||||||
post = setup_post '2011-04-12-text-extension.text'
|
post = setup_post '2011-04-12-text-extension.text'
|
||||||
conv = post.converter
|
conv = post.converter
|
||||||
assert conv.kind_of? Jekyll::MarkdownConverter
|
assert conv.kind_of? Jekyll::MarkdownConverter
|
||||||
|
|
Loading…
Reference in New Issue