feat(markdoc): Document using custom image components in Markdoc#6829
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
sarah11918
left a comment
There was a problem hiding this comment.
It's OK if you hate this and want to revert, but I took a shot at making these a bit more "instruction-y" and adding context about the why and when to do this, because it's a really cool thing!
No rush to look at this, and I haven't totally proofread, just wanted to restructure it a bit to see what we thought.
P.S. One change I made in each case is that I showed the Astro component first, then then the config. It felt weird to be configuring something that didn't yet exist, and that we didn't know what it was. I do acknowledge that this separates the Astro component from the Markdoc where you pass it the props though, so I get if it feels weird to you that the config is in the middle of those two things.
Anyway, see what you think of something like this!
|
Yes, this looks great to me! |
sarah11918
left a comment
There was a problem hiding this comment.
MMM... Making Markdoc Marvelous!
Description (required)
Documentation for withastro/astro#9958
(For
@astrojs/markdocv0.9 minor release)