Markdown + React = MDX
Here’s an interesting flavor of Markdown called MDX that incorporates React components and thereby allows some client-side scripting injection inside content.
MDX is a format that lets you seamlessly use JSX in your Markdown documents. You can import components […]
The code samples make it seem like something editors would understand. React JSX syntax is pretty clear to start with, and MDX means Markdown looks like text and React looks like HTML.
The idea of mixing code and Markdown has been done before. For example, R Markdown allows for the embedding of R scripts inside Markdown, which allows for code documentation and inline script execution.
I’m quite curious about this, given my experiments with editor-managed scripting. I found MDX via this oddly touching blog post which laments why isn’t the internet more fun and weird?.