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

Fix extra styles type #75

Merged
merged 2 commits into from
Nov 21, 2021

Conversation

KenanYusuf
Copy link
Contributor

This PR fixes the type declaration for the extraStyles param on the mdToDraftjs export - had to upgrade @textlint/markdown-to-ast to get the AST node types, tests passing and the demo still seems to work as expected.

Also added an example of how to use extra styles to the readme.

Thanks for the great library @kadikraman 🙌

Copy link
Owner

@kadikraman kadikraman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one, thanks for the PR!

@kadikraman kadikraman merged commit ece7414 into kadikraman:master Nov 21, 2021
@kadikraman
Copy link
Owner

Published in v1.5.2 🚀

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.

2 participants