Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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