Skip to content

Commit

Permalink
bug: fix unprose of preview component
Browse files Browse the repository at this point in the history
  • Loading branch information
josemarluedke committed Feb 16, 2024
1 parent c9d7083 commit 1708a77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/plugin-with-prose/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
);
}

Expand Down

0 comments on commit 1708a77

Please sign in to comment.