aboutsummaryrefslogtreecommitdiff
path: root/lib/mstch/test/data/section_functions_in_partials.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mstch/test/data/section_functions_in_partials.hpp')
-rw-r--r--lib/mstch/test/data/section_functions_in_partials.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/mstch/test/data/section_functions_in_partials.hpp b/lib/mstch/test/data/section_functions_in_partials.hpp
new file mode 100644
index 0000000..1fc4434
--- /dev/null
+++ b/lib/mstch/test/data/section_functions_in_partials.hpp
@@ -0,0 +1,5 @@
+const mstch::node section_functions_in_partials_data = mstch::map{
+ {"bold", mstch::lambda{[](const std::string& text) -> mstch::node {
+ return std::string{"<b>"} + text + std::string{"</b>"};
+ }}}
+}; \ No newline at end of file