←back to thread

193 points yaoke259 | 1 comments | | HN request time: 0.2s | source
Show context
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 #
1. 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