kadikraman / draftjs-md-converter

Converts content from Draft.js blocks to Markdown and vice versa.
https://kadikraman.github.io/draftjs-md-converter/
MIT License
145 stars 37 forks source link

Escape markdown characters #45

Open ericls opened 6 years ago

ericls commented 6 years ago

For example, if I have a contentBlock with no styles and entities applied and the text is '__not_bold__', it should be converted to \_\_not_bold\_\_ instead of '__not_bold__'