fix truly stupid markdown error

This commit is contained in:
Thomas Reynolds 2011-07-11 18:37:01 -07:00
parent 55c80d3bf6
commit cf08b14ba3
3 changed files with 4 additions and 4 deletions

View file

@ -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)

View file

@ -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

View file

@ -1,3 +1,3 @@
module Middleman
VERSION = "2.0.0.rc2"
VERSION = "2.0.0.rc3"
end