bbmustache-based template engine.
Summary
Functions
Renders a Mustache template using the bbmustache Erlang library with support for
strict mode, type coercion, partial resolution, default values, and control
tag rewriting (#if, #unless, #each).
Functions
Renders a Mustache template using the bbmustache Erlang library with support for
strict mode, type coercion, partial resolution, default values, and control
tag rewriting (#if, #unless, #each).
Parameters
template— A Mustache template string.values— A map of variable bindings.opts— Keyword options::strict_mode,:template_name,:types,:partials,:partials_func.
Returns
{:ok, %RenderResult{}} on success or {:error, %RenderError{}} on failure.