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

draft-js-export-markdown Escaping all markdown characters #182

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

Conversation

SamiSaves
Copy link

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.

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.

1 participant