class Nanoc::Filters::AsciiDoc
@api private
Public Instance Methods
run(content, _params = {})
click to toggle source
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 14 def run(content, _params = {}) TTY::Command.new(printer: :null).run('asciidoc -o - -', input: content).out end