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