Skip to content

Updates underline to use ins tag (via ++)#8

Open
codenamev wants to merge 2 commits intojpuri:masterfrom
codenamev:patch-1
Open

Updates underline to use ins tag (via ++)#8
codenamev wants to merge 2 commits intojpuri:masterfrom
codenamev:patch-1

Conversation

@codenamev
Copy link

Markdown will underline ins text by default, and bolds __.

@jpuri
Copy link
Owner

jpuri commented Jul 22, 2017

Hi @codenamev ,

You can use config object to over-ride the defaults provided by the lib: https://github.com/jpuri/draftjs-to-markdown/blob/master/js/index.js#L553

I will add this more clearly to readme.

@WalissonRodrigo
Copy link

You can use my version that already solves this problem of compatibility with the library just by adding new properties to your config by invoking the standard draftToMarkdown function.
LINK PULL REQUEST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants