Built using slate-js
Install npm package:
npm install -E @opuscapita/react-markdown
Import it to your application
import MarkdownInput from '@opuscapita/react-markdown
See interactive example for more details: https://opuscapita.github.io/react-markdown
Demo powered by React Showroom
If you want to use together with Bootstrap Modal, you need to add styles:
.markdown-input_fullscreen { // pass this class to Modal component
overflow: hidden;
}
.markdown-input_fullscreen.modal.in .modal-dialog {
transform: none;
}
- Code blocks are not supported
Alexey Sergeev | |
---|---|
Dmitry Divin | |
Dmitry Sanko | |
Aleksandr Baliunov | |
Kirill Volkovich |
Licensed under the Apache License, Version 2.0. See LICENSE for the full license text.