# RDoc::Markup::Heading - ri - phpman

= [**RDoc::Markup::Heading](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AMarkup%3A%3AHeading/markdown) < [RDoc::Markup::Element**](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AMarkup%3A%3AElement/markdown)

(from gem rdoc-7.2.0)
------------------------------------------------------------------------

A heading with a level (1-6) and text

  RDoc syntax:
   = Heading 1
   == Heading 2
   === Heading 3

### Markdown syntax:
   # Heading 1
   ## Heading 2
   ### Heading 3
------------------------------------------------------------------------
= **Class methods:**

  new
  to_html
  to_label

= **Instance methods:**

  ==
  accept
  aref
  label
  legacy_aref
  legacy_label
  level
  plain_html
  pretty_print
  text

= **Attributes:**

  attr_accessor level
  attr_reader text

