We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e2f620 commit c3d6145Copy full SHA for c3d6145
packages/draft-js-export-markdown/README.md
@@ -10,6 +10,13 @@ It was extracted from [React-RTE](https://react-rte.org) and placed into a separ
10
11
This project is still under development. If you want to help out, please open an issue to discuss or join us on [Slack](https://draftjs.slack.com/).
12
13
+## How to Use
14
+
15
+ import { stateToMarkdown } from "draft-js-export-markdown";
16
+ const markdown = stateToMarkdown(
17
+ this.state.editorState.getCurrentContent()
18
+ )
19
20
## License
21
22
This software is [ISC Licensed](/LICENSE).
0 commit comments