Object
Processes content in Markdown format using the maruku library.
Convert the content in context to HTML.
# File lib/webgen/contentprocessor/maruku.rb, line 23
23: def call(context)
24: require 'maruku'
25: $uid = 0 #fix for invalid fragment ids on second run
26: context.content = ::Maruku.new(context.content, :on_error => :raise).to_html
27: context
28: rescue LoadError
29: raise Webgen::LoadError.new('maruku', self.class.name, context.dest_node, 'maruku')
30: rescue Exception => e
31: raise Webgen::RenderError.new(e, self.class.name, context.dest_node, context.ref_node)
32: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.