class Middleman::Renderers::Slim

Slim renderer

def initialize(_app, _options={}, &_block)

Setup extension
def initialize(_app, _options={}, &_block)
  super
  # Setup Slim options to work with partials
  ::Slim::Engine.disable_option_validator!
  ::Slim::Engine.set_options(
    buffer: '@_out_buf',
    use_html_safe: true,
    generator: ::Temple::Generators::RailsOutputBuffer,
    disable_escape: true
  )
end