Object
Processes content in Markdown markup with the fast rdiscount library.
Convert the content in context to HTML.
# File lib/webgen/contentprocessor/rdiscount.rb, line 8 def call(context) require 'rdiscount' context.content = ::RDiscount.new(context.content).to_html context rescue LoadError raise Webgen::LoadError.new('rdiscount', self.class.name, context.dest_node, 'rdiscount') end
Generated with the Darkfish Rdoc Generator 2.