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

Name

Description

and_fn

"and" helper function

block_helper_missing_fn

The blockHelperMissing helper: renders a block for a missing block helper.

detag_fn

"detag" helper function

eq_fn

"eq" helper function

gt_fn

"gt" helper function

helper_missing_fn

The helperMissing helper: reports a missing inline helper.

increment_fn

"increment" helper function

ne_fn

"ne" helper function

not_fn

"not" helper function

or_fn

"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

select_fn

"select" helper function

year_fn

"year" helper function

Created with MrDocs