6 lines
262 B
C++
6 lines
262 B
C++
const mstch::node nested_higher_order_sections_data = mstch::map{
|
|
{"bold", mstch::lambda{[](const std::string& text) -> mstch::node {
|
|
return std::string{"<b>"} + text + std::string{"</b>"};
|
|
}}},
|
|
{"person", mstch::map{{"name", std::string{"Jonas"}}}}
|
|
}; |