mstch/test/data/nested_higher_order_sections.hpp

6 lines
279 B
C++
Raw Normal View History

2015-04-23 21:55:18 +08:00
const mstch::node nested_higher_order_sections_data = mstch::map{
{"bold", mstch::lambda{[](const std::string& text, mstch::renderer render) {
return std::string{"<b>"} + render(text) + std::string{"</b>"};
}}},
{"person", mstch::map{{"name", std::string{"Jonas"}}}}
};