mrdocs::handlebars::helpers

Handlebars helper registry for templates.

Description

Everything under helpers mirrors the runtime helper registry shipped with the bundled Handlebars engine, so templates can call the same helpers in both Node-based dev mode and the embedded C++ rendering pipeline. Each category (built-in, logical, math, string, container, constructor, type) has its own header under Handlebars/Helpers/.

Functions

NameDescription
andFn "and" helper function
blockHelperMissingFn The blockHelperMissing helper: renders a block for a missing block helper.
detagFn "detag" helper function
eqFn "eq" helper function
gtFn "gt" helper function
helperMissingFn The helperMissing helper: reports a missing inline helper.
incrementFn "increment" helper function
neFn "ne" helper function
notFn "not" helper function
orFn "or" helper function
registerAntoraHelpers Register all the Antora helpers into a Handlebars instance
registerBuiltinHelpers Register all the built-in helpers into a Handlebars instance
registerConstructorHelpers Register contructor helpers into a Handlebars instance
registerContainerHelpers Register helpers to manipulate composite data types
registerLogicalHelpers Register logical helpers into a Handlebars instance
registerMathHelpers Register math helpers into a Handlebars instance
registerStringHelpers Register string helpers into a Handlebars instance
registerTypeHelpers Register type helpers into a Handlebars instance
selectFn "select" helper function
yearFn "year" helper function