Menu

Moving your remark/rehype plugins to Astro 7 (Sätteri)
📰

Moving your remark/rehype plugins to Astro 7 (Sätteri)

DEV Community: astro·Ashish Vaghela·3 days ago
#5mGmU6Rp
#devtoastro#devto#dev#remark#features
Long article (528 words) — no AI summary yet.
Reading 0:00
15s threshold

Astro 7 changed the default markdown processor. It used to be unified, the remark/rehype pipeline most of us have been piling plugins onto for years. Now it's Sätteri , a markdown/MDX engine written in Rust.

The speed is real. Astro's own docs build got over a minute faster. The catch is that Sätteri has its own AST and its own plugin API, so none of your remark or rehype plugins run anymore .

You can opt back into unified() with @astrojs/markdown-remark , and plenty of sites have. But then you skip the speed-up and keep an extra dependency around.

I went through my own plugin list, and then the most downloaded ones on npm, and sorted them into three groups.

1.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.