kentcdodds/mdx-bundler

How to render the excerpt as a component

cayblood opened this issue · 1 comments

I'm trying to figure out how to take the excerpt from matter and render it as a component. Right now, the markdown in my excerpt is not being parsed. An example in the docs would be appreciated.

Not sure if this is the most optimal solution, but once you get the excerpt as an output from running bundleMdx maybe you can pass the excerpt into mdx-bundler again, then wrap it around the component you want it to be in.