Skip to main content

render

Function render 

Source
pub fn render(
    source: &str,
    ctx: &RenderCtx<'_>,
) -> Result<String, TemplateError>
Expand description

Render a .md.in template with full context.

ยงErrors

Returns an error if the base or requested template cannot be registered, parsed, loaded, or rendered.