Skip to content

Commit

Permalink
Remove rehype-raw plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
drskullster authored and myarmolinsky committed Dec 6, 2024
1 parent 0e6d4f2 commit b7d3155
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 171 deletions.
168 changes: 0 additions & 168 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"react-helmet": "^6.1.0",
"react-markdown": "^9.0.1",
"react-router-dom": "^6.10.0",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.0",
"rimraf": "^6.0.0",
"typescript": "^5.5.2",
Expand Down
2 changes: 0 additions & 2 deletions src/components/Markdown/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { Options as ReactMarkdownOptions } from 'react-markdown';
import { default as ReactMarkdown } from 'react-markdown';
import remarkGfm from 'remark-gfm';
import rehypeRaw from 'rehype-raw';
import { MUILinkWithTracking } from '../MUILinkWithTracking';
import type { MUILinkWithTrackingProps } from '../MUILinkWithTracking';

Expand Down Expand Up @@ -158,7 +157,6 @@ export const Markdown = ({ components, ...props }: ReactMarkdownOptions) => {
return (
<ReactMarkdown
remarkPlugins={[remarkGfm]}
rehypePlugins={[rehypeRaw]}
components={componentsWithOverrides}
allowedElements={[
...defaultAllowedElements,
Expand Down

0 comments on commit b7d3155

Please sign in to comment.