Skip to content
Discussion options

You must be logged in to vote

There is no way to generate MD from MDX because MDX is more expressive than MD and let you embed React components within MD. Components can be interactive, and translating them to MD can be impossible, requiring running them to determine what they render and then converting the resulting HTML to a string. HTML is also more expressive than MD (but it's not interactive), but at least it could be embedded in MD docs.

What we do for the blog RSS feed content is we run the static site generation, and then read the static HTML files we output to create the HTML feed content. This permits to ensure you get all your MDX components pre-rendered to HTML (or course, we lose the interactivity side bu…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@slorber
Comment options

slorber Jun 29, 2025
Collaborator

Answer selected by peterpeterparker
@peterpeterparker
Comment options

@peterpeterparker
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants