File: nested_higher_order_sections.hpp

package info (click to toggle)
mstch 1.0.2-4
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 940 kB
  • sloc: cpp: 1,429; 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"}}}}
};