module Showdown::Converter
Convert markdown to html.
Public Instance Methods
converted_html()
click to toggle source
# File lib/showdown.rb, line 12 def converted_html markdown.render(File.open(@target_path).read) end
markdown()
click to toggle source
# File lib/showdown.rb, line 8 def markdown @markdown ||= Redcarpet::Markdown.new(Redcarpet::Render::HTML, strikethrough: true) end