-
-
Notifications
You must be signed in to change notification settings - Fork 440
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
Add Markdown util and convert all sections #74
Conversation
This allows us to write our articles in markdown in React. The code is adapted from react-markings: https://github.com/Thinkmill/react-markings
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.
Yess this is great! Is everything converted yet?
This is to trigger a stage.now.sh build and see if it works.
Here is a deploy of this branch: https://styled-components-docs-huxzgkpejt.now.sh |
@mxstbr uglify is failing :) probably something minor. I’ll take a look later and fix it. Just got back from some short holidays today |
@mxstbr Done and should be ready to merge 🚀 Edit: Seems that the replacement has caused some bugs somehow |
177a508
to
05be150
Compare
Let's ship this to avoid it getting hopelessly out of date?! |
Let's ship this to avoid it getting hopelessly out of date?! |
Awesomeeee!!! |
I adapted react-markings for our components: https://github.com/Thinkmill/react-markings
It should actually work better for us than converting everything to Gatsby right now, and at the same time will make the task of translating everything a lot smoother probably. Not to mention the connected refactor and redesign.
It should be relatively straightforward, apart from the manual labour that's in translating everything to markdown :(
Edit: Not building with Uglify / build task right now due to an UglifyJS bug