aboutsummaryrefslogtreecommitdiff
path: root/lib/mstch/test/data/nested_higher_order_sections.hpp
blob: 26ed72a6a4b81c115c40f4f7933f1a1b0a77ace1 (plain)
1
2
3
4
5
6
const mstch::node nested_higher_order_sections_data = mstch::map{
  {"bold", mstch::lambda{[](const std::string& text) -> mstch::node {
    return std::string{"<b>"} + text + std::string{"</b>"};
  }}},
  {"person", mstch::map{{"name", std::string{"Jonas"}}}}
};