Sha256: 264cbb39594be9d6fb5f4357f91c158d9eeb2c6d89cfdfa1286ae1281b58c0d5

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 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.new(hard_wrap: true),
        autolink: true,
        space_after_headers: true,
        superscript: true,
        tables: true)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
honey-cms-0.4.6 lib/cms/engine.rb
honey-cms-0.4.5 lib/cms/engine.rb