The Handlebars template engine.

Description

Types and functions implementing the Handlebars template language: the Handlebars environment, its built‐in helpers, and the Error type it reports failures with.

Namespaces

Name

Description

helpers

Handlebars helper registry for templates.

Types

Name

Description

Error

An error thrown or returned by Handlebars.

Handlebars

A handlebars environment

HandlebarsOptions

Options for handlebars

OutputRef

Reference to output stream used by handlebars

Type Aliases

Name

Description

Expected

handlebars' result type: the std::expected polyfill, defaulting the error to handlebars::Error (an explicit 2nd argument is allowed).

Functions

Name

Description

HTMLEscape

HTMLEscape overloads

createFrame

Create child data objects.

escapeExpression

isEmpty

Determine if a value is empty

operator<<

Write to output

Variables

Name

Description

htmlEscapeEntities

Character‐to‐entity table used by HTMLEscape.

Using Declarations

Name

Description

Unexpected

Construct a failed Expected value.

Created with MrDocs