Skip to main content

preview_document

Function preview_document 

Source
pub fn preview_document(source: &str) -> String
Expand description

The document the Studio’s Web preview frames for source: the page as largo serve would paint it, first paint included, with PREVIEW_CENTERING_STYLE in its head; or, when the page does not build, the themed overlay that says why.