pub fn render( doc: &Doc, caption: Caption, window: &mut Window, cx: &mut App, ) -> AnyElement
Render a document.