React hook and component for Markdown editing
Top 93.3% on sourcepulse
This React component provides a flexible Markdown editor with both WYSIWYG and markup modes, targeting developers building content creation interfaces. It offers a dual-editing experience, allowing users to switch between visual and code-based Markdown editing, enhancing productivity and control.
How It Works
The editor leverages ProseMirror and CodeMirror engines to provide a robust editing experience. ProseMirror handles the rich text (WYSIWYG) aspects, while CodeMirror manages the markup view. This dual-engine approach allows for seamless switching between modes and extensibility for custom syntax or features.
Quick Start & Requirements
npm install @gravity-ui/markdown-editor
react
, react-dom
, @gravity-ui/uikit
, @gravity-ui/components
, @diplodoc/transform
, and others (check peerDependencies
).@gravity-ui/uikit
documentation.Highlighted Details
Maintenance & Community
npm start
for Storybook.configure({ lang: 'ru' })
.Licensing & Compatibility
@gravity-ui
packages.Limitations & Caveats
The specific license is not detailed, which may impact commercial use. The project relies heavily on the @gravity-ui
ecosystem, requiring integration with its UI components and theming.
3 days ago
1+ week