mstch/test/data/nested_higher_order_sections.hpp
2015-04-23 15:55:18 +02:00

6 lines
279 B
C++

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"}}}}
};