top | item 36854469

(no title)

nullpt_rs | 2 years ago

Definitely considering switching over my blog to Astro since I write my posts in MDX and using this plugin to avoid doing this work on the client at all (currently use highlight.js and Next).

Lovely work by my friend Haze :)

discuss

order

l5870uoo9y|2 years ago

NextJS does however offer an experimental Rust implementation for parsing MDX which makes it a lot faster and less buggy to use than setting it yourself with various Rehype and Remark plugins. Using Rust parser with Bright[1] (if you don't need other plugins like table of contents or Github Flavoured Markdown) is a potent setup.

[1]: https://bright.codehike.org/

baby|2 years ago

Never heard of Astro[1] until today. I was looking for something better than Hugo and ended up using Nuxt content. How is this better than nuxt content :D ?

[1]: https://astro.build/

hazebooth|2 years ago

I haven't used 'Next Content', but one big difference is that Astro is framework agnostic. I'm not a huge web dev so I wouldn't know how different these frameworks are, but not being locked in/being able to try another framework is cool

OJFord|2 years ago

Haven't heard of it before either, but their own homepage (which I assume is dogfooding) has unnatural feeling (vertical) scroll-jacking, and small amount of horizontal scroll due to incorrect width. (Mobile, Firefox, Android)

contravariant|2 years ago

True to their word the page loads fine without any javascript.

The HTML is even somewhat readable if you ignore the embedded styling. Though this blog is a lot better in that regard.