diff options
author | 2023-05-23 12:16:50 -0400 | |
---|---|---|
committer | 2023-05-23 12:16:50 -0400 | |
commit | 57e65d247f67de61bcc3a585c2254feb61ed2e74 (patch) | |
tree | c3919841a2814969e34c108239c2a55634256613 /examples/with-markdoc/src | |
parent | cbdb0fdbd6dd2d19237eccab40d9253f0909bf35 (diff) | |
download | astro-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.ts | 9 |
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 }; |