mrdocs::Handlebars::render_to
Render a handlebars template
Synopses
Declared in <mrdocs/Support/Handlebars.hpp>
void
render_to(
OutputRef& out,
std::string_view templateText) const;
void
render_to(
OutputRef& out,
std::string_view templateText,
dom::Value const& context) const;
Render a handlebars template
void
render_to(
OutputRef& out,
std::string_view templateText,
dom::Value const& context,
HandlebarsOptions const& options) const;
Parameters
| Name | Description |
|---|---|
templateText |
The handlebars template text |
context |
The data to render |
options |
The options to use |
Created with MrDocs