8 lines
243 B
Text
8 lines
243 B
Text
mstch::object{
|
|
{"bold", []() {
|
|
return [](const std::string& text, mstch::renderer render) {
|
|
return std::string{"<b>"} + render(text) + std::string{"</b>"};
|
|
};
|
|
}},
|
|
{"person", mstch::object{{"name", std::string{"Jonas"}}}}
|
|
}
|