Each item to be printed is a new RDoc::Markup::Document.
When using one of the separate by options, a section header is added first. The section contains:
- RDoc::Markup::BlankLine (unless this is the first section)
- RDoc::Markup::Heading (level 1)
- RDoc::Markup::Rule
The rest of the document is a series of RDoc::Markup::List objects, one for each of the item's properties:
- RDoc::Markup::List
- RDoc::Markup::Heading (level 2)
- RDoc::Markup::BlankLine
- RDoc::Markup::ListItem
- RDoc::Markup::Paragraph
The document will also include a number of RDoc::Markup::Verbatim and RDoc::Markup::Raw items. They are not included in the output, but are used to pass information about the item and property to the default formatter.