I've been working on a similar project using MDX as the parser to enable runtime static JSX tags in markdown: https://www.timetler.com/2025/08/19/unlocking-rich-ui-compon...
I'm curious why you decided to go with a DSL instead of embedding an established language?
replies(1):