
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-split-mde
Advanced tools
 [](https://badge.fury.io/js/react-split-mde) [](
React Split MDE is a Markdown Editor which enables you to write contents smoothly even with a large amount of content.
![]() Firefox | ![]() Chrome | ![]() Safari | ![]() iOS Safari |
|---|
Not Yet
You should also import zenn-markdown-html as peer dependencies
$ npm install react-split-mde zenn-markdown-html --save
import React, { useCallback, useState } from 'react';
import { render } from 'react-dom';
import { Editor, useProvider } from 'react-split-mde';
import { parser } from 'react-split-mde/lib/parser';
import 'react-split-mde/css/index.css';
const MDE = () => {
const [markdown, setMarkdown] = useState('')
const handleValueChange = useCallback((newValue: string) => {
setMarkdown(newValue);
}, []);
return (
<Editor
parser={parser}
value={markdown}
onChange={handleValueChange}
/>
)
}
render(<MDE />, document.getElementById("app"));
Not yet...
| Props | Description | Type | Default |
|---|---|---|---|
| commands | key binds | Record< string, Command>; | |
| previewClassName | class name to be applied to preview area | "znc" | |
| previewCallback | morphdom callbacks to be applied to preview area | Record<string, Function> | {} |
| parser | markdown parser function | ( text : string ) => Promise <string> | |
| value | markdown | string | "" |
| onChange | callback when markdown changed | ( value : string ) => void | |
| psudoMode | highlight markdown area with highlight.js | boolean | false |
| debounceTime | debounced time to apply markdown result to preview area | number | 3000 |
https://github.com/steelydylan/react-split-mde
Code and documentation copyright 2020 by steelydylan, Inc. Code released under the MIT License.
FAQs
 [](https://badge.fury.io/js/react-split-mde) [](
We found that react-split-mde demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.