lib/slackdown.rb in slackdown-0.2.1 vs lib/slackdown.rb in slackdown-0.2.2
- old
+ new
@@ -3,9 +3,9 @@
require "kramdown/converter/slack"
module Slackdown
def self.convert(markdown, options={})
- Kramdown::Document.new(markdown, options.merge(input: "GFM")).to_slack
+ Kramdown::Document.new(markdown.to_s, options.merge(input: "GFM")).to_slack
end
end