fix truly stupid markdown error
This commit is contained in:
parent
55c80d3bf6
commit
cf08b14ba3
3 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@ module Middleman::CoreExtensions::FrontMatter
|
||||||
|
|
||||||
::Tilt::register RDiscountTemplate, 'markdown', 'mkd', 'md'
|
::Tilt::register RDiscountTemplate, 'markdown', 'mkd', 'md'
|
||||||
::Tilt::register RedcarpetTemplate, 'markdown', 'mkd', 'md'
|
::Tilt::register RedcarpetTemplate, 'markdown', 'mkd', 'md'
|
||||||
::Tilt.prefer(RDiscountTemplate)
|
app.set :markdown_engine, RDiscountTemplate
|
||||||
|
|
||||||
::Tilt::register RedClothTemplate, 'textile'
|
::Tilt::register RedClothTemplate, 'textile'
|
||||||
::Tilt.prefer(RedClothTemplate)
|
::Tilt.prefer(RedClothTemplate)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
module Middleman::Renderers::Markdown
|
module Middleman::Renderers::Markdown
|
||||||
class << self
|
class << self
|
||||||
def registered(app)
|
def registered(app)
|
||||||
app.set :markdown, ::Tilt::RDiscountTemplate
|
app.set :markdown_engine, ::Tilt::RDiscountTemplate
|
||||||
app.after_feature_init do
|
app.after_feature_init do
|
||||||
::Tilt.prefer(app.settings.markdown)
|
::Tilt.prefer(app.settings.markdown_engine)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
alias :included :registered
|
alias :included :registered
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module Middleman
|
module Middleman
|
||||||
VERSION = "2.0.0.rc2"
|
VERSION = "2.0.0.rc3"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue