Sha256: 5abca490d276af79e696f5f66a3aa697b49cbf200c469c408891d0f5a471e220

Contents?: true

Size: 279 Bytes

Versions: 12

Compression:

Stored size: 279 Bytes

Contents

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
middleman-2.0.0.rc97 lib/middleman/renderers/markdown.rb
middleman-2.0.0.rc96 lib/middleman/renderers/markdown.rb
middleman-2.0.0.rc95 lib/middleman/renderers/markdown.rb
middleman-2.0.0.rc93 lib/middleman/renderers/markdown.rb
middleman-2.0.0.rc92 lib/middleman/renderers/markdown.rb
middleman-2.0.0.rc91 lib/middleman/renderers/markdown.rb
middleman-2.0.0.rc8 lib/middleman/renderers/markdown.rb
middleman-2.0.0.rc7 lib/middleman/renderers/markdown.rb
middleman-2.0.0.rc6 lib/middleman/renderers/markdown.rb
middleman-2.0.0.rc5 lib/middleman/renderers/markdown.rb
middleman-2.0.0.rc4 lib/middleman/renderers/markdown.rb
middleman-2.0.0.rc3 lib/middleman/renderers/markdown.rb