diff --git a/packages/plugin-with-prose/src/index.ts b/packages/plugin-with-prose/src/index.ts index b9ae09b..27aeb45 100644 --- a/packages/plugin-with-prose/src/index.ts +++ b/packages/plugin-with-prose/src/index.ts @@ -13,7 +13,9 @@ function shouldUnproseNode(node: NodeWithMeta): boolean { return Boolean( node.type === 'code' && node.meta && - ['component', 'template', 'preview-template'].includes(node.meta) + ['component', 'template', 'preview-template', 'preview'].includes( + node.meta + ) ); }