Skip to content

Commit d6ea76f

Browse files
committed
chore(deps): update dependency @uiw/react-markdown-preview to v3.4.7
1 parent c86f7cb commit d6ea76f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@types/react-dom": "17.0.11",
4141
"@uiw/react-code-preview": "3.0.0",
4242
"@uiw/react-github-corners": "1.5.3",
43-
"@uiw/react-markdown-preview": "3.3.2",
43+
"@uiw/react-markdown-preview": "3.4.7",
4444
"@uiw/reset.css": "1.0.5",
4545
"compile-less-cli": "1.8.11",
4646
"kkt": "7.0.5",

website/components/Markdown/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Component } from 'react';
22
import MarkdownPreview from '@uiw/react-markdown-preview';
3-
import rehypeAttr from 'rehype-attr';
43
import Code from './Code';
54
import styles from './index.module.less';
65

@@ -66,7 +65,6 @@ export default class Markdown extends Component<MarkdownProps, MarkdownState> {
6665
style={{ padding: '20px 26px' }}
6766
source={this.state.mdStr}
6867
className={styles.markdown}
69-
rehypePlugins={[[rehypeAttr, { properties: 'attr' }]]}
7068
components={{
7169
/**
7270
* bgWhite 设置代码预览背景白色,否则为格子背景。

0 commit comments

Comments
 (0)