diff --git a/packages/cms/keystatic/src/custom-components.tsx b/packages/cms/keystatic/src/custom-components.tsx index 976c48dbd..be0e1ba83 100644 --- a/packages/cms/keystatic/src/custom-components.tsx +++ b/packages/cms/keystatic/src/custom-components.tsx @@ -1,3 +1,5 @@ +import type { Schema } from '@markdoc/markdoc'; + /** * @name CustomMarkdocComponents * @description Custom components for Markdoc. Please define your custom components here. @@ -24,9 +26,10 @@ export const CustomMarkdocComponents: Record< * export const CustomMarkdocTags = { * youtube: { * render: "Youtube", + * selfClosing: true, * } * } */ -export const CustomMarkdocTags = { +export const CustomMarkdocTags: Record = { // define your custom tags here };