Utilities for rendering plain text templates.
pub fn encode(str: String) -> StringTree
An encoder that just returns the content as-is.
pub fn render(
template: Template,
assigns: Dict(String, AssignData),
template_cache: Dict(String, Template),
) -> Result(StringTree, RenderError)
Render a plain text template.