File: nested_higher_order_sections.hpp

package info (click to toggle)
mstch 1.0.2-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 960 kB
  • sloc: cpp: 1,443; sh: 17; makefile: 4
file content (6 lines) | stat: -rw-r--r-- 262 bytes parent folder | download | duplicates (4)
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"}}}}
};