diff --git a/@theme/markdoc/schema.ts b/@theme/markdoc/schema.ts index 1dc2774eff..4531c5fcc6 100644 --- a/@theme/markdoc/schema.ts +++ b/@theme/markdoc/schema.ts @@ -122,6 +122,10 @@ export const badge: Schema & { tagName: string } = { href: { type: 'String', required: false + }, + date: { // Not displayed, but useful for knowing how old an 'updated' badge is + type: 'String', + required: false } }, render: 'Badge'