Creates a new plugin for using inline styles as decorators.
Currently, There is no way of using nested decorators, but using decorators is so fun. So the proposed solution is to handle Draft.js' inline styles as if they were controlled by decorators.
npm install --save draft-js-create-inline-style-plugin
;;;;const STAR_REGEX = /\*.+\*/g;const TILDE_REGEX = /~.+~/g;const kindOfMarkdownPlugin =;const MyEditor =<div><EditoreditorState= editorStateonChange= onChangeplugins= kindOfMarkdownPlugin/></div>;;