DevTrends开发者趋势
主题色

bruits /

satteri

Hello! I work at Astro ( https://astro.build ), where we do a lot of Markdown / MDX and performance in this area is often a bottleneck. Our users use a lot of plugins to process their Markdown, so just bli…

DT软件开发DTSkill / 插件

关于

Hello! I work at Astro ( https://astro.build ), where we do a lot of Markdown / MDX and performance in this area is often a bottleneck. Our users use a lot of plugins to process their Markdown, so just blindly moving everything to a native language would make things a bit rigid. Inspired by the oxc and LightningCSS projects, I decided to start to start working on an "ideal" Markdown pipeline: The expensive stuff in Rust, with flexible plugins in JS, but with little performance cost. This project uses techniques like lazy deserialization, raw transfer, arenas etc to ensure top performance. A JS plugin that only visits, ex, headings shouldn't suffer from the serialization cost of the entire Markdown tree. On the Rust side this is backed by pulldown-cmark, a really fast parser for Markdown. You can try it in the browser here: https://satteri.erika.florist , or follow the instructions in the README to try it out locally: https://github.com/bruits/satteri/blob/main/packages/satteri... Hope you'll like it! Don't hesitate if you have any questions.

收录记录

  1. Show HN

    2026年4月12日 · 1 次收录

  2. 阮一峰周刊·正刊推荐

    2026年7月24日 · 1 次收录

讨论这个产品