Package Exports
- @uiw/react-md-editor
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@uiw/react-md-editor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Markdown Editor for React
A markdown editor with preview, implemented with React.js and TypeScript.
Install
npm i @uiw/react-md-editor
Props
value: string
: The Markdown value.commands?: ICommand[]
: An array ofICommand
, which, each one, contain acommands
property. If no commands are specified, the default will be used. Commands are explained in more details below.height?: number=200
: The height of the editor.autoFocus?: number=true
: Can be used to makeMarkdown Editor
focus itself on initialization.
Development
npm run watch # Listen compile .tsx files.
npm run build # compile .tsx files.
npm run doc
License
Licensed under the MIT License.