Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@accordproject/markdown-editor
Advanced tools
A rich text editor that can read and write markdown text. Based on Slate.js.
This is a React component for a rich text editor that can read and write CommonMark Markdown text. The editor uses Slate.js.
The editor includes keyboard shortcuts for Markdown formatting and a pop-up formatting toolbar.
This component is Apache-2 licensed Open Source. Contributors welcome!
npm install @accordproject/markdown-editor
import MarkdownEditor from '../../src';
ReactDOM.render(<MarkdownEditor />, document.getElementById('root'));
For an example React App see the ./examples/ folder.
A TextArea
containing CommonMark synchronized with a MarkdownEditor
component, rendered using Slate.js.
Run npm start
and then navigate to: http://localhost:3001/examples
In the project directory, you can run:
npm start
Runs the app in the development mode.
Open [http://localhost:3001](http://localhost:30001 to view it in the browser.
The page will reload if you make edits.
npm run build
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
FAQs
[![downloads](https://img.shields.io/npm/dm/@accordproject/markdown-editor)](https://www.npmjs.com/package/@accordproject/markdown-editor) [![npm version](https://badge.fury.io/js/%40accordproject%2Fmarkdown-editor.svg)](https://badge.fury.io/js/%40accord
The npm package @accordproject/markdown-editor receives a total of 108 weekly downloads. As such, @accordproject/markdown-editor popularity was classified as not popular.
We found that @accordproject/markdown-editor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.