@since 3.2.0
Runs the content through [AsciiDoc](www.methods.co.nz/asciidoc/). This method takes no options.
@param [String] content The content to filter
@return [String] The filtered content
# File lib/nanoc/filters/asciidoc.rb, line 13 def run(content, params = {}) stdout = StringIO.new stderr = $stderr piper = Nanoc::Extra::Piper.new(:stdout => stdout, :stderr => stderr) piper.run(%( asciidoc -o - - ), content) stdout.string end
Generated with the Darkfish Rdoc Generator 2.