mstch/test/data/nested_higher_order_sections.hpp

6 lines
262 B
C++
Raw Normal View History

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