pub fn render_template(
template: &str,
context: &TemplateContext,
) -> Result<String, RenderError>Expand description
Render a Tera template string with the given context.
Returns the rendered string, or an error describing what went wrong.
Fast path: strings without {{ or {% are returned as-is.