-
Notifications
You must be signed in to change notification settings - Fork 127
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
Markdown rendering / Normalized Html styling #395
Conversation
Thanks for opening this pull request! Someone will review it soon 🔍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thank you @Gh1dra! 🎉
I left a few comments, let me know what you think! 🤗
@bpierre @chadoh Thank you both for your review! Let me know if there is anything I didn't address from the original issue. Currently, Travis is failing due to the rollup config: https://travis-ci.org/aragon/aragon-ui/jobs/553950501 Here is the new issue: #400 |
@bpierre Is there anything I can do to help push this over the line? Are there any updates using the new design system that you'd like to see incorporated? |
Hi @Gh1dra, sorry about the super long wait. We are going to review the last changes during the next week or so.
Ideally yes! Would you mind moving these changes on top of Some changes that will be needed for 1.0:
Let me know if you have any question, I am also |
e5f1478
to
422e209
Compare
It is lighter than react-markdown (5kb vs. 20kb), and doesn’t have the bundling issues that react-markdown has. Also: - Fix the theme colors. - Use Link. - Tweak NormalizedHtml styles. - Use aragonUI’s Checkbox.
It is lighter than react-markdown (5kb vs. 20kb), and doesn’t have the bundling issues that react-markdown has. Also: - Fix the theme colors. - Use Link. - Tweak NormalizedHtml styles. - Use aragonUI’s Checkbox.
… into markdown-rendering
Hey @corydickson, thanks for this, and sorry for the delay! I added a few commits:
I think it is ready to be merged soon :-) |
@corydickson I only merged |
42f91bd
to
ee752f4
Compare
So when I try to rebase it makes me the author of all the child commits from 728553e onward... let's just add: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple comments and we're having an offline discussion about the unstyled
prop, but otherwise, LGTM!
This is now an internal component of Markdown. Also: - Replace unstyled by normalized. - Let users extend styles with the className and style props. - Minor tweaks.
Addresses issue #386
I had to update the
rollup
config with a JSON plugin due to a failed installation. Let me know if you are able to reproduce.Also since we are using
jsx
everywhere I don't think we'll need to sanitize the input.