diff options
Diffstat (limited to 'lib/mstch/test/data/nested_higher_order_sections.hpp')
| -rw-r--r-- | lib/mstch/test/data/nested_higher_order_sections.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/mstch/test/data/nested_higher_order_sections.hpp b/lib/mstch/test/data/nested_higher_order_sections.hpp new file mode 100644 index 0000000..26ed72a --- /dev/null +++ b/lib/mstch/test/data/nested_higher_order_sections.hpp @@ -0,0 +1,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"}}}} +};
\ No newline at end of file |
