mstch/test/data/nested_higher_order_sections.hpp

6 lines
323 B
C++
Raw Normal View History

2020-02-13 03:53:14 +08:00
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"}}}}}}};