aboutsummaryrefslogtreecommitdiff
path: root/packages/integrations/markdoc/test/fixtures/render-null/src/content
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/markdoc/test/fixtures/render-null/src/content')
-rw-r--r--packages/integrations/markdoc/test/fixtures/render-null/src/content/blog/render-null.mdoc13
-rw-r--r--packages/integrations/markdoc/test/fixtures/render-null/src/content/config.ts7
2 files changed, 20 insertions, 0 deletions
diff --git a/packages/integrations/markdoc/test/fixtures/render-null/src/content/blog/render-null.mdoc b/packages/integrations/markdoc/test/fixtures/render-null/src/content/blog/render-null.mdoc
new file mode 100644
index 000000000..f85ebebd1
--- /dev/null
+++ b/packages/integrations/markdoc/test/fixtures/render-null/src/content/blog/render-null.mdoc
@@ -0,0 +1,13 @@
+---
+title: Post with render null
+---
+
+## Post with render null
+
+This should render the contents inside a fragment!
+
+{% div-wrapper %}
+
+I'm inside a div wrapper
+
+{% /div-wrapper %}
diff --git a/packages/integrations/markdoc/test/fixtures/render-null/src/content/config.ts b/packages/integrations/markdoc/test/fixtures/render-null/src/content/config.ts
new file mode 100644
index 000000000..629486e48
--- /dev/null
+++ b/packages/integrations/markdoc/test/fixtures/render-null/src/content/config.ts
@@ -0,0 +1,7 @@
+import { defineCollection } from 'astro:content';
+
+const blog = defineCollection({});
+
+export const collections = {
+ blog,
+};