wooorm / xdm

Just a *really* good MDX compiler. No runtime. With esbuild, Rollup, and webpack plugins
http://wooorm.com/xdm/
MIT License
593 stars 18 forks source link

Question: What is the roadmap for XDM and how does it relate to MDX 2? #94

Closed ElMassimo closed 2 years ago

ElMassimo commented 2 years ago

First of all, thank you for making xdm, and the entire unified ecosystem! ❤️

I'm using xdm to power markdown in îles through vite-plugin-xdm.


Reading the docs for the upcoming MDX 2, I see that it's going to be powered by micromark, and I get the sense that it's going to reuse most of the innovations in xdm.

Currently, xdm seems to be a platform to explore new ideas and iterate faster than you would be able to in a more established project like MDX.

Would you share your plans regarding xdm once MDX 2 is released?

wooorm commented 2 years ago

Heya!

I ported xdm back into mdx. They’re virtually identical now. Only differences is that xdm is semver stable whereas mdx is “unstable” (although I don’t expect anything to change for V2).

Currently, xdm seems to be a platform to explore new ideas and iterate faster than you would be able to in a more established project like MDX.

True. But also a lot of work to maintain many projects. I’m not sure how much more experimentation there needs to be. E.g., the allowDangerousRemoteMdx option or so is documented as not adhering to semver, to allow for experimentation.

ElMassimo commented 2 years ago

I ported xdm back into mdx. They’re virtually identical now

Excellent, that means I can link to the new MDX 2 docs if users need a deeper reference on markdown/JSX syntax. I will still link to xdm when referencing implementation details.

Thanks!