middleman/lib/middleman/renderers/markdown.rb
2011-07-11 18:37:01 -07:00

11 lines
279 B
Ruby

module Middleman::Renderers::Markdown
class << self
def registered(app)
app.set :markdown_engine, ::Tilt::RDiscountTemplate
app.after_feature_init do
::Tilt.prefer(app.settings.markdown_engine)
end
end
alias :included :registered
end
end