Sha256: 8c60e27b22bbf29fe805d941d4a00a1189e899e44c42b06fba0acccaef4a65c0

Contents?: true

Size: 325 Bytes

Versions: 5

Compression:

Stored size: 325 Bytes

Contents

require 'cms/inflections'
require 'redcarpet'

module CMS
  class Engine < ::Rails::Engine
    initializer 'cms.markdown' do |app|
      ::Markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML,
        autolink: true,
        space_after_headers: true,
        superscript: true,
        tables: true)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
honey-cms-0.4.2 lib/cms/engine.rb
honey-cms-0.4.1 lib/cms/engine.rb
honey-cms-0.4.0 lib/cms/engine.rb
honey-cms-0.3.13 lib/cms/engine.rb
honey-cms-0.3.12 lib/cms/engine.rb