Discover and explore top open-source AI tools and projects—updated daily.
gravity-uiReact hook and component for Markdown editing
Top 82.4% 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-editorreact, 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.
2 days ago
1 day