Skip to content

Commit e896d49

Browse files
committed
doc: Update README.md
1 parent 7d64aa8 commit e896d49

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ If you need more features-rich Markdown Editor, you can use [@uiwjs/react-markdo
142142
- [@uiw/react-codemirror](https://github.com/uiwjs/react-codemirror): CodeMirror component for React. @codemirror
143143
- [@uiw/react-monacoeditor](https://github.com/jaywcjlove/react-monacoeditor): Monaco Editor component for React.
144144
- [@uiw/react-markdown-editor](https://github.com/uiwjs/react-markdown-editor): A markdown editor with preview, implemented with React.js and TypeScript.
145-
- [@uiw/react-markdown-preview](https://github.com/uiwjs/react-markdown-preview): React component preview markdown text in web browser.
146-
145+
- [@uiw/react-md-editor](https://github.com/uiwjs/react-md-editor): A simple markdown editor with preview, implemented with React.js and TypeScript.
147146

148147
## License
149148

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default React.forwardRef<MarkdownPreviewRef, MarkdownPreviewProps>((props
3030
<ReactMarkdown
3131
{...other}
3232
plugins={[gfm, ...(other.plugins || [])]}
33-
rehypePlugins={[[rehypePrism, {ignoreMissing: true }], rehypeRaw, ...(other.rehypePlugins || [])]}
33+
rehypePlugins={[[rehypePrism, { ignoreMissing: true }], rehypeRaw, ...(other.rehypePlugins || [])]}
3434
children={source || ''}
3535
/>
3636
</div>

0 commit comments

Comments
 (0)