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
|
|
|
|
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
|