render

Function render 

Source
pub fn render<W>(
    input: &str,
    out: &mut W,
    opts: RenderOpts,
) -> Result<(), Error>
where W: Write,
Expand description

Renders a djot document to HTML.

Syntax highlighting will be attempted for all fenced code blocks with a language specifier. See RenderOpts for controlling other aspects of the rendering.