Sha256: 49cb739267d4073e7084dbda8425c8813bb328170afe7260d3cf7f9c0e1ca9bf
Contents?: true
Size: 521 Bytes
Versions: 9
Compression:
Stored size: 521 Bytes
Contents
module Nanoc::Filters # @api private class RDoc < Nanoc::Filter requires 'rdoc' # Runs the content through [RDoc::Markup](http://docs.seattlerb.org/rdoc/RDoc/Markup.html). # This method takes no options. # # @param [String] content The content to filter # # @return [String] The filtered content def run(content, _params = {}) options = ::RDoc::Options.new to_html = ::RDoc::Markup::ToHtml.new(options) ::RDoc::Markup.new.convert(content, to_html) end end end
Version data entries
9 entries across 9 versions & 1 rubygems