My websites have this too with MDX, it's awesome. Reminds me of the old Bret Victor interactive tutorials back around when YC Research was funding HCI experiments
https://koomen.dev/essays/horseless-carriages/#system-prompt...
MDX & claude are remarkably useful for expressing ideas. You could turn this into a little web app and it would instantly be better than any word processor ever created.
Here's the code btw https://github.com/koomen/koomen.dev