Astro RSS Feeds with Full MDX Content
Published on
Discover how to use Astro's Container API to include fully rendered MDX content—components and all—in your RSS, Atom, and JSON feeds.
All the articles with the tag "Astro".
Published on
Discover how to use Astro's Container API to include fully rendered MDX content—components and all—in your RSS, Atom, and JSON feeds.
Published on
Learn how to implement dark and light modes on your website using pure HTML and CSS—no JavaScript required! This guide covers automatic color scheme switching based on the user's system preferences, custom toggles with JavaScript, storing preferences in local storage, and best practices for Astro sites.
Published on
A new major version of Astro has landed a while ago and it's time for me to upgrade this website.
Published on
Astro uses Shiki syntax highlighting by default. It works great but it's missing one core feature, line numbers. In this article I explain how to add line numbers using CSS only and making it work with TailwindCSS.
Published on
Todays browsers support responsive images out of the box and for the best user experience it is necessary to serve images responsively. It's not trivial to implement a more advanced solution. This is the story about why and how I serve a multitude of formats and sizes for images on this blog.