Skip to content

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

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

codenamev wants to merge 2 commits into
jpuri:masterfrom
codenamev:patch-1

Conversation

@codenamev

Copy link
Copy Markdown

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

@jpuri

jpuri commented Jul 22, 2017

Copy link
Copy Markdown
Owner

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
Copy Markdown

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