Expand description
In-memory document for the interactive view.
RenderedDoc holds the styled bytes, an ANSI-stripped plain
copy, parallel line-start indexes, and a heading list. Built
once from push_tty output plus a HeadingRecorder.
Structs§
- Heading
Entry - One heading in the rendered document.
- Heading
Recorder RenderObserverthat collects heading starts with their text.- Rendered
Doc - Pre-rendered markdown document with searchable plain copy + line index.
Functions§
- build
- Assemble a
RenderedDocfrom the styled output + recorded headings.