draft-js-utils icon indicating copy to clipboard operation
draft-js-utils copied to clipboard

draft-js-export-markdown Escaping all markdown characters

Open SamiSaves opened this issue 5 years ago • 0 comments

This escapes all markdown related characters that are listed in markdown-escapes npm package.

It should solve issue #175

Before updating / adding tests, I thought it would be best to discuss this, because it probably needs some changes.

In my opinion the encoding should be enabled by default (With maybe an option to opt out). My reasoning is that for example, if you write character "#" without escaping it would be considered a header in markdown.

SamiSaves avatar May 14 '19 08:05 SamiSaves