@accordproject/markdown-editor
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "@accordproject/markdown-editor", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A rich text editor that can read and write markdown text. Based on Slate.js.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -7,4 +7,18 @@ This is a React component for a rich text editor that can read and write [CommonMark](https://commonmark.org) Markdown text. The editor uses [Slate.js](https://slatejs.org). | ||
### Demo | ||
### Usage | ||
``` | ||
npm install @accordproject/markdown-editor | ||
``` | ||
``` | ||
import MarkdownEditor from '../../src'; | ||
ReactDOM.render(<MarkdownEditor />, document.getElementById('root')); | ||
``` | ||
### Example | ||
For an example React App see the ./examples/ folder. | ||
A `TextArea` containing CommonMark synchronized with a `MarkdownEditor` component, rendered using Slate.js. | ||
@@ -11,0 +25,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 13 instances in 1 package
46
1
1351933
18
4920