Skip to content

noClaps/satteri

 
 
Sätteri

Here the page is set, the loose locked fast, the words marked down.

High-performance Markdown and MDX processing. Parses and compiles in Rust, runs your plugins in JavaScript.

Check out the npm package's documentation for installation instructions, API reference, and usage examples, try it online on the playground, or join us on Discord!

Packages

Sätteri is a Rust + TypeScript monorepo containing the following Rust crates:

Name Description README Registry
satteri High-level Rust API for the pipeline: parse, convert, compile README Satteri Crates.io Version
satteri-arena Arena allocator and binary buffer primitives README Satteri Arena Crates.io Version
satteri-ast MDAST and HAST node types, codecs, tree operations, and conversion README Satteri AST Crates.io Version
satteri-plugin-api Rust Plugin trait for Rust plugins, typed visitors, and runner README Satteri Plugin API Crates.io Version
satteri-napi-binding NAPI bindings exposing the Rust pipeline to JavaScript README
satteri-mdxjs-rs MDX-to-JavaScript compiler, fork of mdxjs-rs adapted for OXC README Satteri MDXJS Crates.io Version
satteri-pulldown-cmark CommonMark parser with MDX extension support, fork of pulldown-cmark README Satteri pulldown-cmark Crates.io Version

And the following npm package:

Name Description README Registry
satteri TypeScript layer: plugin API and top-level functions README Satteri npm Version

Acknowledgements

Sätteri builds on the work and knowledge of several open-source projects:

  • unifiedjs -- the ecosystem of tools for processing content with syntax trees, including remark and rehype
  • pulldown-cmark -- CommonMark pull parser
  • mdxjs-rs -- MDX compiler by Titus Wormer, forked to use pulldown-cmark and OXC

Special thanks to the following projects for paving the way for high-performance Rust <-> JavaScript interop:

  • oxc -- Rust JavaScript parser and compiler by the OXC team, used for MDX compilation
  • Lightning CSS -- Rust CSS parser with a optimized JavaScript Visitor API

Sätteri is an open-source project born from Bruits, a Rust-focused collective 💛

About

High-performance Markdown and MDX processing for the JavaScript ecosystem

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Rust 71.7%
  • TypeScript 25.9%
  • JavaScript 1.7%
  • CSS 0.3%
  • Python 0.2%
  • MDX 0.2%