mstch/test/data/nested_higher_order_sections.hpp
2020-02-12 20:53:14 +01:00

6 lines
323 B
C++

const mstch::node nested_higher_order_sections_data = mstch::map_wrapper{
{{"bold", mstch::lambda_wrapper{{[](const std::string& text) -> mstch::node {
return std::string{"<b>"} + text + std::string{"</b>"};
}}}},
{"person", mstch::map_wrapper{{{"name", std::string{"Jonas"}}}}}}};