# File lib/rdoc/rdoc.rb, line 130
  def handle_pipe
    @html = RDoc::Markup::ToHtml.new

    parser = RDoc::Text::MARKUP_FORMAT[@options.markup]

    document = parser.parse $stdin.read

    out = @html.convert document

    $stdout.write out
  end