Sha256: d43906ca42be7057cdeccdfa3eb5cd50434409c55c96f342c36c008b4c9b1172

Contents?: true

Size: 323 Bytes

Versions: 5

Compression:

Stored size: 323 Bytes

Contents

module Markdown
  module Engine
   
    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

5 entries across 5 versions & 1 rubygems

Version Path
markdown-1.0.0 lib/markdown/engines/maruku.rb
markdown-0.5.0.beta1 lib/markdown/engines/maruku.rb
markdown-0.4.0 lib/markdown/engines/maruku.rb
markdown-0.3.0 lib/markdown/engines/maruku.rb
markdown-0.2.0 lib/markdown/engines/maruku.rb