top | item 45029342 (no title) etler | 6 months ago 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? discuss order hn newest yaoke259|6 months ago MDX is not secure by default, you'd be executing arbitrary JS code potentially sent by untrustworthy sources, which is advised against in the MDX website. Terretta|6 months ago > you'd be executing arbitrary JS code potentially sent by untrustworthy sourcesOn the other hand, this is true of every web site using a JS-world framework, and worse, even static sites if they use JS ad scripts.
yaoke259|6 months ago MDX is not secure by default, you'd be executing arbitrary JS code potentially sent by untrustworthy sources, which is advised against in the MDX website. Terretta|6 months ago > you'd be executing arbitrary JS code potentially sent by untrustworthy sourcesOn the other hand, this is true of every web site using a JS-world framework, and worse, even static sites if they use JS ad scripts.
Terretta|6 months ago > you'd be executing arbitrary JS code potentially sent by untrustworthy sourcesOn the other hand, this is true of every web site using a JS-world framework, and worse, even static sites if they use JS ad scripts.
yaoke259|6 months ago
Terretta|6 months ago
On the other hand, this is true of every web site using a JS-world framework, and worse, even static sites if they use JS ad scripts.