Skip to content

Commit 1777d81

Browse files
committedOct 18, 2022
fix: Fix skipHtml does not work. (#205)
1 parent 9805216 commit 1777d81

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎src/index.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { PluggableList } from 'unified';
55
import gfm from 'remark-gfm';
66
import slug from 'rehype-slug';
77
import headings from 'rehype-autolink-headings';
8-
import rehypeRaw from 'rehype-raw';
98
import rehypeAttrs from 'rehype-attr';
109
import rehypeIgnore from 'rehype-ignore';
1110
import rehypePrism from 'rehype-prism-plus';
@@ -71,7 +70,6 @@ export default React.forwardRef<MarkdownPreviewRef, MarkdownPreviewProps>((props
7170
const rehypePlugins: PluggableList = [
7271
reservedMeta,
7372
[rehypePrism, { ignoreMissing: true }],
74-
rehypeRaw,
7573
slug,
7674
headings,
7775
rehypeIgnore,

0 commit comments

Comments
 (0)
Please sign in to comment.