mstch/test/data/nested_higher_order_sections.hpp

6 lines
262 B
C++
Raw Normal View History

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