Sha256: 1dcd97e34ab02a06c048a099c1901601b1f574a5d6774834323ff06fdbf98794

Contents?: true

Size: 223 Bytes

Versions: 1

Compression:

Stored size: 223 Bytes

Contents

require 'redcarpet'

module RMark
  module Parsers
    module Redcarpet
      def parse(source, options = {})
        ::Redcarpet::Markdown.new(::Redcarpet::Render::HTML, options).render(source)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
r_mark-0.0.1 lib/r_mark/parsers/redcarpet.rb