This is probably the one function you'll want to use. Expects a mustache template string and a JSON object to use as a hash.
Parse — but don't render — a template. Useful if you want to use the same template many times with different hashes.
Once a template has been parsed with parse it can be rendered with this function.
Escape the special HTML characters &, ", < and >. This function is used when rendering values in normal variable tags.
The context is a list of hashes (both of these terms are specified in the mustache specification) with the head of the list being the innermost hash.
Given a context, lookup a value in it. The lookup rules follows the ones outlined in the mustache specification.
Interpolate a JSON value into a string. This function is used when inserting a JSON value into a mustache variable.
Render a mustache section. This is only intended to be used by preparsed templates generated with the elm-mustache CLI tool
Render a mustache inverted section. This is only intended to be used by preparsed templates generated with the elm-mustache CLI tool
The AST type.