mrdocs::HandlebarsOptions

Options for handlebars

Synopsis

Declared in <mrdocs/Support/Handlebars.hpp>
struct HandlebarsOptions;

Data Members

Name Description
assumeObjects Removes object existence checks when traversing paths
compat Enable recursive field lookup
data Custom private data object
escapeFunction Function to escape entities
explicitPartialContext Disables implicit context for partials
ignoreStandalone Disables standalone tag removal when set to true
noEscape Escape HTML entities or entities defined by the escape function
preventIndent Disable the auto-indent feature
strict Templates will throw rather than ignore missing fields
trackIds Enable tracking of ids

Description

This struct is analogous to the Handlebars.compile options.

See Also

https://handlebarsjs.com/api-reference/compilation.html

Created with MrDocs