# ri > RDoc::Markup::ToRdoc

## [RDoc::Markup::ToRdoc](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AMarkup%3A%3AToRdoc/markdown) < [RDoc::Markup::Formatter](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AMarkup%3A%3AFormatter/markdown)

(from gem rdoc-7.2.0)
------------------------------------------------------------------------
Outputs RDoc markup as RDoc markup! (mostly)
------------------------------------------------------------------------
## Constants:

DEFAULT_HEADINGS:
  [not documented]


## Class methods:

  new

## Instance methods:

  accept_blank_line
  accept_block_quote
  accept_heading
  accept_indented_paragraph
  accept_list_end
  accept_list_item_end
  accept_list_item_start
  accept_list_start
  accept_paragraph
  accept_raw
  accept_rule
  accept_table
  accept_verbatim
  add_text
  attributes
  calculate_text_width
  emit_inline
  end_accepting
  handle_BOLD
  handle_BOLD_WORD
  handle_EM
  handle_EM_WORD
  handle_HARD_BREAK
  handle_PLAIN_TEXT
  handle_REGEXP_HANDLING_TEXT
  handle_STRIKE
  handle_TIDYLINK
  handle_TT
  handle_inline
  handle_regexp_SUPPRESSED_CROSSREF
  indent
  list_index
  list_type
  list_width
  off
  on
  prefix
  res
  start_accepting
  use_prefix
  width
  wrap

## Attributes:

  attr_accessor indent
  attr_accessor width
  attr_reader list_index
  attr_reader list_type
  attr_reader list_width
  attr_reader prefix
  attr_reader res

