# RDoc::Markup::PreProcess - ri - phpman

= [**RDoc::Markup::PreProcess](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AMarkup%3A%3APreProcess/markdown) < Object**

(from gem rdoc-7.2.0)
------------------------------------------------------------------------
Handle common directives that can occur in a block of text:

  :include: filename

Directives can be escaped by preceding them with a backslash.

RDoc plugin authors can register additional directives to be handled by
using [RDoc::Markup::PreProcess::register](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AMarkup%3A%3APreProcess%3A%3Aregister/markdown).

## Any directive that is not built-in to RDoc (including those registered
via plugins) will be stored in the metadata hash on the CodeObject the
comment is attached to.  See [RDoc::Markup](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AMarkup/markdown)@Directives for the list of
built-in directives.
------------------------------------------------------------------------
= **Class methods:**

  new
  post_process
  post_processors
  register
  registered
  reset

= **Instance methods:**

  find_include_file
  handle
  handle_directive
  include_file
  options
  parse_comment
  run_post_processes
  run_pre_processes

= **Attributes:**

  attr_accessor options

