lib/converters/kramdown.rb in convert-0.1.2 vs lib/converters/kramdown.rb in convert-0.1.3

- old
+ new

@@ -1,16 +1,18 @@ -module Converters +module Convert + module Converters - def kramdown(string, options = {}) - options = { - :auto_ids => false, - :entity_output => :as_char, - :enable_coderay => true, - :parse_block_html => true, - :parse_span_html => true, - :smart_quotes => ['apos', 'apos', 'quot', 'quot'] - }.merge(options) + def kramdown(string, options = {}) + options = { + :auto_ids => false, + :entity_output => :as_char, + :enable_coderay => true, + :parse_block_html => true, + :parse_span_html => true, + :smart_quotes => ['apos', 'apos', 'quot', 'quot'] + }.merge(options) - Kramdown::Document.new(string, options).to_html - end + Kramdown::Document.new(string, options).to_html + end + end end