Skip to main content

render_document

Function render_document 

Source
pub fn render_document(document: &GithubDocument) -> String
Expand 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.