mrdocs::helpers::registerBuiltinHelpers

Register all the built‐in helpers into a Handlebars instance

Synopsis

Declared in <mrdocs/Support/Handlebars.hpp>

void
registerBuiltinHelpers(Handlebars& hbs);

Description

Individual built‐in helpers can also be registered with the public *_fn functions in this namespace.

This allows the user to override only some of the built‐in helpers. In particular, this is important for mandatory helpers, such as blockHelperMissing and helperMissing.

Parameters

Name Description

hbs

The Handlebars instance to register the helpers into

See Also

https://github.com/handlebars‐lang/handlebars.js/tree/master/lib/handlebars/helpers

https://handlebarsjs.com/guide/builtin‐helpers.html

Created with MrDocs