From 1777d81dafddbd9f45599d0287543e7d0807e244 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Tue, 18 Oct 2022 08:46:12 +0800 Subject: [PATCH] fix: Fix `skipHtml` does not work. (#205) --- src/index.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index efe792b9..ac1bbcc6 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -5,7 +5,6 @@ import { PluggableList } from 'unified'; import gfm from 'remark-gfm'; import slug from 'rehype-slug'; import headings from 'rehype-autolink-headings'; -import rehypeRaw from 'rehype-raw'; import rehypeAttrs from 'rehype-attr'; import rehypeIgnore from 'rehype-ignore'; import rehypePrism from 'rehype-prism-plus'; @@ -71,7 +70,6 @@ export default React.forwardRef((props const rehypePlugins: PluggableList = [ reservedMeta, [rehypePrism, { ignoreMissing: true }], - rehypeRaw, slug, headings, rehypeIgnore,