diff --git a/src/markdown/index.ts b/src/markdown/index.ts index c58777a5..f6eeec1e 100644 --- a/src/markdown/index.ts +++ b/src/markdown/index.ts @@ -43,6 +43,7 @@ export const renderPageContent = async (content: string): Promise => { ...defaultSchema, attributes: { ...defaultSchema.attributes, + div: [...(defaultSchema.attributes?.div || []), ["className"]], code: [["className"]], blockquote: allowedBlockquoteAttrs, },