I recently discovered MDX, which allows you embed dynamic components in markdown using JSX.
I’m wondering how difficult it would be to do something similar in Discourse posts.
I want users to be able to start games in the forum by embedding shortcode-like snippets in posts:
Here's today's game. Let's see who can get the best score. [game type="whatever" prop2="something" expires="midnight"]
Does anyone know if something like this exists or if there is an open-source plugin that might provide some ideas on how to implement it?