Skip to main content

page

Function page 

Source
pub fn page(
    document: &Document,
    widgets: &Widgets,
    file: &Path,
    source: &str,
    comments: bool,
    found: &[Problem],
) -> String
Expand description

The whole page for one Markdown file: navigation, the rendered content and the scripts that mount its widgets and keep it live. comments is whether comments are on. found is the page’s problems, listed above it.