Skip to content

Commit

Permalink
fix: Fix skipHtml does not work. (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 18, 2022
1 parent 9805216 commit 1777d81
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/index.tsx
Expand Up @@ -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';
Expand Down Expand Up @@ -71,7 +70,6 @@ export default React.forwardRef<MarkdownPreviewRef, MarkdownPreviewProps>((props
const rehypePlugins: PluggableList = [
reservedMeta,
[rehypePrism, { ignoreMissing: true }],
rehypeRaw,
slug,
headings,
rehypeIgnore,
Expand Down

0 comments on commit 1777d81

Please sign in to comment.