pub fn render_document(
body: &str,
width: u16,
theme: &Theme,
focused: Option<usize>,
) -> RenderedDocExpand description
Renders a document body at a pane width.
focused selects which entry of the returned focus map renders with the
selection style; pass the previously returned map’s index.