-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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 a note to the top of parts 5, 6, and 7 that they make sense only if you start with part 4 and go all the way through. #5612
Comments
That sounds like we'd ideally need a "Note" or "callout" UI component—something like (https://reactjs.org/docs/react-api.html#reactpurecomponent) or (http://getbootstrap.com/docs/4.1/getting-started/webpack/#importing-javascript) available from within Markdown. Maybe that's a good opportunity to decide wether we want to use the "Gatsby Butler" in the .org site? He made his way into the .com design and I hear people have been experimenting with stickers featuring him… ;-) Indeed the butler originally was thought as a (quoting @KyleAMathews in #408 (comment)) "little whimsical add-on" "popping up throughout the design" and my initial mocks featured him accompanying exactly the type of content this issue is about—see |
I like the callout UI component and I tried to achieve the same look using blockquote. Currently our blockquote looks like: I took a look at Vuepress’s docs one day and was interested in their tip, warning, danger components. But I believe this is not standard markdown, so maybe it’s a no go. reactjs.org uses blockquote that’s stylized to look like tip. I think this is the most viable right now. But if we wanna be fancy, we can implement a Butler component using MDX. There’s gatsby-plugin-mdx which I haven’t played around with. I like this one the most. What do you guys say to giving Butler + MDX a shot? He can make his first appearance here 😄 |
Hey @ryanditjia, nice to meet you! 👋 I also peeped the reactjs.org source :-D and saw that they are using As I currently understand, to go for a more custom design (butler or even just different background colors per callout type like Vue does) and stick with standard Markdown, we'd need to use inline HTML. The alternatives you mentioned, a custom Markdown block or React component, IMO are fine options not only in terms of readability, but also in regards to showing an example of how to extend Markdown right in the Gatsby docs. I haven't really used it myself, but I remember |
Hmm this made me remember s/th I posted last year (…searching).
|
Add a note to the top of parts 5, 6, and 7 that they make sense only if you start with part 4 and go all the way through.
The text was updated successfully, but these errors were encountered: