diff --git a/src/features/shared/markdown/Markdown.tsx b/src/features/shared/markdown/Markdown.tsx index 350d44a60e..c3f0a94961 100644 --- a/src/features/shared/markdown/Markdown.tsx +++ b/src/features/shared/markdown/Markdown.tsx @@ -72,9 +72,10 @@ const markdownCss = css` `; // TODO - remove never when upgrading to rehypeHighlight v7 +// TODO - ignoreMissing not needed in v7 // Waiting on leak fix - https://github.com/remarkjs/react-markdown/issues/791 const rehypePlugins: import("unified").PluggableList = [ - [rehypeHighlight as never, { detect: true }], + [rehypeHighlight as never, { detect: true, ignoreMissing: true }], ]; export interface MarkdownProps