
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.
@opuscapita/react-markdown
Advanced tools

Built using slate-js
Install npm package:
npm install -E @opuscapita/react-markdown
Import it to your application
import MarkdownInput from '@opuscapita/react-markdown
See interactive example for more details: https://opuscapita.github.io/react-markdown
Demo powered by React Showroom
If you want to use together with Bootstrap Modal, you need to add styles:
.markdown-input_fullscreen { // pass this class to Modal component
overflow: hidden;
}
.markdown-input_fullscreen.modal.in .modal-dialog {
transform: none;
}
MarkdownEditor supports the following decorators:
bolditalicstrikethroughheading-1heading-2heading-3heading-4heading-5heading-6listordered-list[B, I, S] [A] [H1, H2, H3, H4, H5, H6], [UL, OL]
Note for multi-line selection: only list and ordered list are available for multi-line selection, other buttons in a toolbar are disabled, because otherwise markdown highlighting becomes inconsistent.
Here is specification by video example for this button

enter is pressed at the end of the line that is marked as list item if item contain any textenter at the end of the line that marked as list item but does not contain any textHere is specification by video example for this button

enter is pressed at the end of the line that is marked as list item if item contains any textenter at the end of the line that is marked as ordered list item but does not contain any textHere is specification by video example for [H2] button (other header buttons work correspondingly)

Here is specification by video example for these buttons

Here is specification by video example for this button

list and ordered list are not available (no action is supported)| Alexey Sergeev | |
|---|---|
| Dmitry Divin | |
| Dmitry Sanko | |
| Aleksandr Baliunov | |
| Kirill Volkovich |
Licensed under the Apache License, Version 2.0. See LICENSE for the full license text.
FAQs
React markdown editor component
We found that @opuscapita/react-markdown demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 27 open source maintainers 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.