Astro 6.4: pluggable Markdown pipeline, Rust-based Markdown processor and more
Astro 6.4 has been released, introducing a pluggable Markdown pipeline and a new Rust-based Markdown processor called Sätteri. This update aims to enhance performance and flexibility for users by allowing them to customize their Markdown processing. Additionally, new helpers for advanced routing with Cloudflare have been included to streamline development.
- ▪Astro 6.4 introduces a new markdown.processor API that allows users to customize their Markdown processing pipeline.
- ▪The new Sätteri processor, written in Rust, significantly speeds up Markdown builds compared to the previous unified-based pipeline.
- ▪Cloudflare helpers for advanced routing have been added, simplifying integration with Cloudflare's features.
Opening excerpt (first ~120 words) tap to expand
Astro 6.4 is here! On today’s menu: a pluggable Markdown pipeline, a new Rust-based Markdown processor for you to try, and helpers to facilitate the use of experimental advanced routing with Cloudflare. Explore what’s new in this release: New markdown.processor API Faster Markdown builds with Sätteri Cloudflare helpers for advanced routing To upgrade an existing project, use the automated @astrojs/upgrade CLI tool. Alternatively, upgrade manually by running the upgrade command for your package manager: # Recommended:npx @astrojs/upgrade # Manual:npm install astro@latestpnpm upgrade astro --latestyarn upgrade astro --latest New markdown.processor API Astro’s Markdown pipeline has always been built around unified (remark, rehype, and friends).
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Astro.