mstch/test/data/nested_higher_order_sections.hpp

6 lines
262 B
C++
Raw Normal View History

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