4 ms·
MDX is great for this, you can intermix JS/TS, JSX, and Markdown https://mdxjs.com/ https://mdxjs.com/ You can write any components normally and pass them in
by verdverm 2y ago
MDX is great for this, you can intermix JS/TS, JSX, and Markdown
https://mdxjs.com/ https://mdxjs.com/
You can write any components normally and pass them in to be available in MDX. You can make forms and much more
- aitchnyu 2y agoWhats the appeal of Markdown anyway when we are not using Notepad? My ide has same number of keystrokes for `<h3>` and `###`? Might as well go all in on JSX.
- verdverm 2y agoYou forgot to close your h3 tag, so 2x. Changing it is also more keystrokes Most non technical people are comfortable writing markdown, especially when there is a rich text editor. They are not going to write JSX. Markdown is focused on the textual content, not the presentation