Sha256: 3b3f093ea852954e8e9f6af336a5780ddbb8e98ab2accdbdf1cfd2023700858c

Contents?: true

Size: 522 Bytes

Versions: 29

Compression:

Stored size: 522 Bytes

Contents

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
    end
    alias :included :registered
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
middleman-2.0.8 lib/middleman/core_extensions/rendering.rb
middleman-2.0.7 lib/middleman/core_extensions/rendering.rb
middleman-2.0.6 lib/middleman/core_extensions/rendering.rb
middleman-2.0.5 lib/middleman/core_extensions/rendering.rb
middleman-2.0.4 lib/middleman/core_extensions/rendering.rb
middleman-2.0.3 lib/middleman/core_extensions/rendering.rb
middleman-2.0.2 lib/middleman/core_extensions/rendering.rb
middleman-2.0.1.1 lib/middleman/core_extensions/rendering.rb
middleman-2.0.1 lib/middleman/core_extensions/rendering.rb
middleman-2.0.0.3 lib/middleman/core_extensions/rendering.rb
middleman-2.0.0.2 lib/middleman/core_extensions/rendering.rb
middleman-2.0.0.1 lib/middleman/core_extensions/rendering.rb
middleman-2.0.0 lib/middleman/core_extensions/rendering.rb
middleman-2.0.0.rc99 lib/middleman/core_extensions/rendering.rb
middleman-2.0.0.rc98 lib/middleman/core_extensions/rendering.rb
middleman-2.0.0.rc97 lib/middleman/core_extensions/rendering.rb
middleman-2.0.0.rc96 lib/middleman/core_extensions/rendering.rb
middleman-2.0.0.rc95 lib/middleman/core_extensions/rendering.rb
middleman-2.0.0.rc93 lib/middleman/core_extensions/rendering.rb
middleman-2.0.0.rc92 lib/middleman/core_extensions/rendering.rb