1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/lib/middleman/renderers/markdown.rb
2011-07-11 18:37:01 -07:00

11 lines
No EOL
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