sstur / draft-js-export-markdown

DraftJS: Export ContentState to Markdown
http://npm.im/draft-js-export-markdown
55 stars 23 forks source link

Wrong support for underline #9

Open Calyhre opened 8 years ago

Calyhre commented 8 years ago

As I said in https://github.com/sstur/react-rte/issues/71, UNDERLINE inline style is not really supported. Underline does not really exists in markdown, so it makes ++underline++ unusable in other parsers.

sstur commented 8 years ago

I commented on issue 71 in react-rte but basically I agree with you that this should not be the default behavior since it is not "standard" markdown (by which I mean commonmark/gfm).

I do feel that we should accept an option for custom styles like this. I'll create an issue to that effect.