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

11 lines
279 B
Ruby
Raw Normal View History

module Middleman::Renderers::Markdown
class << self
def registered(app)
2011-07-11 21:37:01 -04:00
app.set :markdown_engine, ::Tilt::RDiscountTemplate
app.after_feature_init do
2011-07-11 21:37:01 -04:00
::Tilt.prefer(app.settings.markdown_engine)
end
end
alias :included :registered
end
end