mstch/test/data/section_functions_in_partials.hpp

5 lines
222 B
C++
Raw Normal View History

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