2011-07-06 13:15:31 -04:00
|
|
|
require "padrino-core/application/rendering"
|
|
|
|
|
|
|
|
module Middleman::CoreExtensions::Rendering
|
|
|
|
class << self
|
|
|
|
def registered(app)
|
|
|
|
# Tilt-aware renderer
|
|
|
|
app.register Padrino::Rendering
|
|
|
|
|
|
|
|
# Activate custom renderers
|
|
|
|
app.register Middleman::Renderers::Slim
|
|
|
|
app.register Middleman::Renderers::Haml
|
|
|
|
app.register Middleman::Renderers::Sass
|
|
|
|
app.register Middleman::Renderers::Markdown
|
2011-10-27 12:24:48 -04:00
|
|
|
app.register Middleman::Renderers::ERb
|
2011-07-06 13:15:31 -04:00
|
|
|
app.register Middleman::Renderers::CoffeeScript
|
2011-09-09 02:06:22 -04:00
|
|
|
app.register Middleman::Renderers::Liquid
|
2011-07-06 13:15:31 -04:00
|
|
|
end
|
|
|
|
alias :included :registered
|
|
|
|
end
|
|
|
|
end
|