We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28c7f5e commit 28981b2Copy full SHA for 28981b2
src/index.tsx
@@ -30,7 +30,7 @@ export default React.forwardRef<MarkdownPreviewRef, MarkdownPreviewProps>((props
30
<ReactMarkdown
31
{...other}
32
plugins={[gfm, ...(other.plugins || [])]}
33
- rehypePlugins={[rehypePrism, rehypeRaw, ...(other.rehypePlugins || [])]}
+ rehypePlugins={[[rehypePrism, {ignoreMissing: true }], rehypeRaw, ...(other.rehypePlugins || [])]}
34
children={source || ''}
35
/>
36
</div>
0 commit comments