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
MDX support #248
Comments
Feel free to work on a plugin to use MDX with Vite - we can transfer it to That said, MDX doesn't make sense for VitePress.
|
Currently avaliable at https://github.com/csr632/vite-plugin-mdx |
Is your feature request related to a problem? Please describe.
mdx help us import markdown as React/Vue component, or use component in markdown, which is a great feature for documentation. I think vite+mdx is a perfect match:
Describe the solution you'd like
A mdx plugin for vite, maybe
vite-plugin-mdx
. It is not developed yet, but here is a naive prototype: https://github.com/csr632/test-vite/blob/plugin-mdx/vite.config.ts (this demo depend on this vite pr)I guess mdx can also be directly build into vitepress. But I think a
vite-plugin-mdx
is still necessary:vite-plugin-mdx
could benefit both vue and react users. (by the way, vue support of mdx is still in alpha)vite-plugin-mdx
could benefit any app, giving developers more control.Would you accept a
vite-plugin-mdx
as an official plugin? I would love to help developing it!The text was updated successfully, but these errors were encountered: