Sha256: e07eef2dbfd36cc2a8454089e4703bc81b14f5e6eafc815c3f01cb87b4c242f7
Contents?: true
Size: 369 Bytes
Versions: 1
Compression:
Stored size: 369 Bytes
Contents
module Markdown module Engine def maruku_version Maruku::VERSION end def maruku_to_html( content, options={} ) puts " Converting Markdown-text (#{content.length} bytes) to HTML using library maruku..." Maruku.new( content, {:on_error => :raise} ).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/maruku.rb |