Skip to main content

render

Function render 

Source
pub fn render(
    doc: &Document,
    bindings: &Bindings,
    counter: &impl TokenCounter,
) -> Result<String, Vec<Diagnostic>>
Expand description

Validate static content, substitute inert strings, then check every final file and section budget. Variables have no separate limit. No output is returned on any error.