Sha256: 89be611f24b2e75f0753753c5e4beaef621ad423081fa827e8e62ab3caebfbc5

Contents?: true

Size: 177 Bytes

Versions: 5

Compression:

Stored size: 177 Bytes

Contents

module ApplicationHelper
  def md(text)
    markdown = Redcarpet::Markdown.new(MdEmoji::Render,
      :no_intra_emphasis => true)

    markdown.render(text).html_safe
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
md_emoji-1.0.2 test/dummy/app/helpers/application_helper.rb
cn_md_emoji-0.0.1 test/dummy/app/helpers/application_helper.rb
md_emoji-1.0.1 test/dummy/app/helpers/application_helper.rb
md_emoji-1.0.0 test/dummy/app/helpers/application_helper.rb
md_emoji-0.0.8 test/dummy/app/helpers/application_helper.rb