Sha256: b92c8c9f8989e392ce0b8b3bc1efd5560e5cc28af4dcad52dd24d0101497420f
Contents?: true
Size: 297 Bytes
Versions: 15
Compression:
Stored size: 297 Bytes
Contents
module Blogo::Renderer class Markdown < Base add_dependency :gem => 'redcarpet', :require => 'redcarpet' def initialize @markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML) end # :nodoc: def render(raw_text) @markdown.render(raw_text) end end end
Version data entries
15 entries across 15 versions & 1 rubygems