Sha256: 92bea0f8083d40b88d66ff9653885c705fcc6cbce21d08e954de9ee634261659

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

# encoding: utf-8

module Markdown
  module Engine

    def rdiscount_version
      RDiscount::VERSION
    end

    def rdiscount_to_html( content, options={} )
      puts "  Converting Markdown-text (#{content.length} bytes) to HTML using library rdiscount..."      
      
      RDiscount.new( content ).to_html
    end


  end # module Engine
end # module Markdown    

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markdown-1.2.0 lib/markdown/engines/rdiscount.rb