Skip to main content

render

Function render 

Source
pub fn render(template_str: &str, context: &FileContext) -> String
Expand description

Render a template string with the given file context.

Uses Jinja2-style templates via minijinja with trim_blocks and lstrip_blocks enabled for clean template authoring.