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
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.