←back to thread

193 points yaoke259 | 3 comments | | HN request time: 0.639s | source
1. desireco42 ◴[] No.45026941[source]
So this is like MDX, but compiled... I always liked MDX and think this is good way to boost Markdown because, often we don't need much more then Markdown.
replies(2): >>45027086 #>>45029213 #
2. yaoke259 ◴[] No.45027086[source]
yes like MDX, but not compiled :)
3. etler ◴[] No.45029213[source]
MDX does needs to be done at compile time because MDX contains unsafe evals in its syntax via imports and string interpolation.

I created a library for runtime MDX because of that: https://www.npmjs.com/package/react-markdown-with-mdx