5 ms·
Been a while Ricardo, I still remember that old WebAudio talk with the guitar. Thanks a lot for sharing MDX here, it looks quite neat indeed. I think that the
by soapdog 5y ago
Been a while Ricardo, I still remember that old WebAudio talk with the guitar. Thanks a lot for sharing MDX here, it looks quite neat indeed.
I think that the main difference between what I was showing and MDX is that MDX is the JS ecosystem, and you basically get JavaScript only. In those Pollen/Racket based setup, you get languages beyond Pollen and Racket. For example, I can write my own language specialised to describe TTRPG adventures. It doesn't need to look like Racket, or behave like Racket. It can be a whole new language. And I can still plug it into my blog because Racket allows you to mix and match Racket-based languages.
With MDX, from my very brief read of their website, you'll create a JSX components and insert it inside a Markdown document. You're limited to Markdown documents and JSX components, which let's be honest is probably enough for most cases if not all of them.
In the end it is about what the blog authors want to use. There is no point in using something one doesn't like, that will make writing a chore. If I was doing a JS-based blog, I'd certainly would look towards using MDX.
- ricardobeat 5y agoGood times! Those and all the Mozilla/FF OS events are also in permanent memory here :) I'm not familiar with Pollen but indeed, it seems the ability to run anything at build time, and define your own DSLs opens up interesting possibilities in a way MDX would not be capable of. Not that I would choose JS for a blog either - things are way too fragile now.