aboutsummaryrefslogtreecommitdiff
path: root/examples/with-markdoc/src
diff options
context:
space:
mode:
authorGravatar Ben Holmes <hey@bholmes.dev> 2023-05-23 12:16:50 -0400
committerGravatar GitHub <noreply@github.com> 2023-05-23 12:16:50 -0400
commit57e65d247f67de61bcc3a585c2254feb61ed2e74 (patch)
treec3919841a2814969e34c108239c2a55634256613 /examples/with-markdoc/src
parentcbdb0fdbd6dd2d19237eccab40d9253f0909bf35 (diff)
downloadastro-57e65d247f67de61bcc3a585c2254feb61ed2e74.tar.gz
astro-57e65d247f67de61bcc3a585c2254feb61ed2e74.tar.zst
astro-57e65d247f67de61bcc3a585c2254feb61ed2e74.zip
revert: markdoc asset bleed (#7178)
* revert: markdoc asset bleed * chore: changeset
Diffstat (limited to 'examples/with-markdoc/src')
-rw-r--r--examples/with-markdoc/src/content/config.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/with-markdoc/src/content/config.ts b/examples/with-markdoc/src/content/config.ts
new file mode 100644
index 000000000..2eccab0a3
--- /dev/null
+++ b/examples/with-markdoc/src/content/config.ts
@@ -0,0 +1,9 @@
+import { defineCollection, z } from 'astro:content';
+
+const docs = defineCollection({
+ schema: z.object({
+ title: z.string(),
+ }),
+});
+
+export const collections = { docs };