Introduction
Peisar is a high-performance Markdown parser and renderer engineered in Rust, providing native support for CommonMark, GitHub Flavored Markdown (GFM), Kramdown block attributes, and multi-format frontmatter extraction. Designed with a Rust-first core architecture, Peisar exposes its functionality natively to Rust applications via crates.io and to JavaScript/TypeScript environments through Node.js N-API bindings and WASM targets.
- CommonMark blocks and inlines, including HTML and reference links
- GFM tables, strikethrough, task lists, and autolinks
- Kramdown block attributes such as
{:#intro .lead key="value"} - YAML, TOML, and JSON frontmatter extraction (raw content, not deserialized)
- AST visitors and parser hooks through
Peisar.use() - Native Node.js addon and Rust library surfaces
Get started
Contributing
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated!
Whether you’re fixing a typo, improving documentation, reporting a bug, or proposing a new feature, we’d love your help.
- Check out our Contributing Guidelines for setup instructions and style rules.
- Browse our open issues — look for the
good first issuelabel if you’re new to the project. - Fork the repo, create your branch, and open a Pull Request!
Not sure where to start? Feel free to open a Discussion or ask a question on an issue. We’re happy to help!
License
Except as otherwise noted, the content of this documentation is licensed under the CC BY 4.0 and source code are licensed under the Apache-2.0