lib/markdown/engines/rpeg_markdown.rb in markdown-0.2.0.beta1 vs lib/markdown/engines/rpeg_markdown.rb in markdown-0.2.0
- old
+ new
@@ -1,8 +1,10 @@
module Markdown
module Engine
- def rpeg_markdown_to_html( content )
+ def rpeg_markdown_to_html( content, options={} )
+ puts " Converting Markdown-text (#{@content.length} bytes) to HTML using library rpeg_markdown..."
+
PEGMarkdown.new( content ).to_html
end
end # module Engine
end # module Markdown
\ No newline at end of file