mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
fix: add `content` property to docs schema
This commit is contained in:
@@ -24,6 +24,7 @@ const docs = defineCollection({
|
|||||||
schema: z.object({
|
schema: z.object({
|
||||||
title: z.string(),
|
title: z.string(),
|
||||||
description: z.string(),
|
description: z.string(),
|
||||||
|
content: z.string(),
|
||||||
}),
|
}),
|
||||||
transform: async (document, context) => {
|
transform: async (document, context) => {
|
||||||
const highlighter = await shikiHighlighter();
|
const highlighter = await shikiHighlighter();
|
||||||
|
|||||||
Reference in New Issue
Block a user