pub fn render_document(document: &GithubDocument) -> StringExpand description
Render the complete, transport-independent GitHub document once in Rust.
Selector handling belongs after this function. The renderer purposefully never sees a vision capability or an attachment downloader, so its bytes are identical for text-only and vision-capable callers.