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-10 13:41:53 -07:00

11 lines
No EOL
265 B
Ruby

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