Astro 6.4
https://astro.build/blog/astro-640/
Faster Markdown builds with Sätteri
A pluggable processor API also means Astro can ship other Markdown processors. Astro 6.4 introduces a new
@astrojs/markdown-satteripackage, with a new processor based on Sätteri, a Markdown and MDX pipeline written in Rust.Sätteri is much faster than the default unified-based pipeline, and it implements many Markdown features natively that previously required plugins. In our own testing, switching the Astro and Cloudflare docs site to Sätteri shaved over a minute off their respective build time. To try it out, install the package and set it as your processor:
プロセッサをプラグインとして追加できる仕組みにより、Astroは他のMarkdownプロセッサも提供できるようになります。Astro 6.4では、Rust製のMarkdownおよびMDXパイプラインであるSätteriをベースにした新しいプロセッサを含む、
@astrojs/markdown-satteriパッケージが導入されました。Sätteriは、デフォルトのunifiedベースのパイプラインよりもはるかに高速であり、以前はプラグインを必要としていた多くのMarkdown機能をネイティブに実装しています。独自のテストでは、AstroおよびCloudflareのドキュメントサイトをSätteriに切り替えたところ、それぞれのビルド時間が1分以上短縮されました。実際に試してみるには、パッケージをインストールし、それをプロセッサとして設定してください。
Astro 7.0
https://astro.build/blog/astro-7/
Markdown & MDX in Rust
Astro 7 replaces the default Markdown and MDX pipeline with Sätteri, a Rust-powered processor created by Astro core team member Erika . Switching the Astro docs and Cloudflare docs builds to Sätteri shaved over a minute off their build times, making Markdown-heavy sites the biggest winners in Astro 7.
Astro 7では、デフォルトのMarkdownおよびMDX処理パイプラインが、AstroコアチームメンバーのErika氏が開発したRust製プロセッサ「Sätteri」に置き換えられました。AstroやCloudflareのドキュメントサイトのビルドにSätteriを導入したところ、ビルド時間が1分以上短縮されました。つまり、Markdownを多用するサイトこそが、Astro 7による最大の恩恵を受けることになります。