Sha256: 00029a8a184fcf02f801692efb28cc1d53c6e63d59ac47232e503f8ca290ed3a
Contents?: true
Size: 367 Bytes
Versions: 1
Compression:
Stored size: 367 Bytes
Contents
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.1.1 | lib/markdown/engines/rdiscount.rb |