A rehype MDX plugin for interpreting markdown code meta as props
You may hear about [React Live](https://react-live.netlify.app/), which can turn a Markdown code block into a live demo:  However, this magic has a obvious disadvantage: you cannot import packages in browser runtime. So I think the only way to support import is to parse these import statements in MDX and inject them to `<pre>` as `scope` prop. The React Live component can use the `scope` prop to resolve imported stuff. Here is my try, the plugin seems working when using it alone. https://github.com/guoyunhe/rehype-mdx-code-imports However, when combine `rehype-mdx-code-props` and `rehype-mdx-code-imports`, the later doesn't work anymore. Maybe these two plugins conflict each other?
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by guoyunhe and has received 1 comments.