From 44470550260a16b361984ec43b71d65735d6f509 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 19 Oct 2024 22:20:36 -0300 Subject: content: generateUnsafeMunchy --- src/content/dependencies/generateUnsafeMunchy.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/content/dependencies/generateUnsafeMunchy.js (limited to 'src/content') diff --git a/src/content/dependencies/generateUnsafeMunchy.js b/src/content/dependencies/generateUnsafeMunchy.js new file mode 100644 index 00000000..c11aadc7 --- /dev/null +++ b/src/content/dependencies/generateUnsafeMunchy.js @@ -0,0 +1,10 @@ +export default { + extraDependencies: ['html'], + + slots: { + contentSource: {type: 'string'}, + }, + + generate: (slots, {html}) => + new html.Tag(null, null, slots.contentSource), +}; -- cgit 1.3.0-6-gf8a5