Comrak

Comrak is a CommonMark and GitHub Flavored Markdown compatible parser and renderer, written in Rust.

It is developed on GitHub by a community of contributors, and released under the BSD 2-clause license, forever1, for use by all.

Features

Usage

Comrak can be used directly on the command-line or as part of a batch processing pipeline, and is available pre-built on many platforms.

It can also be used as a library in Rust as a Cargo dependency, or with bindings to other languages. The WASM target lets it be used directly in webpages.

This webpage is created with Comrak by stitching together three elements:

The CLI help for the latest version is available in the README, and the Rust documentation is on docs.rs.

Bindings

Who uses Comrak?

Questions? Commits? Cat pictures?

You can contact the maintainers and community on GitHub, or you can email the author at ashe@kivikakk.ee. Please report security issues to that email address.

Contributions are highly encouraged, and we would love to help you through the process. We practice Optimistic Merging as described by Peter Hintjens. We have a Code of Conduct which forms the basis of how we treat one another.

If you have a GitHub account, you are welcome to use its interface to report issues, open pull requests, and privately report security issues. If not, you are very welcome to discuss and contribute by email, and a maintainer will make those actions on your behalf, attributed however you like.


  1. Comrak intentionally does not use a Contributor License Agreement — every contributor retains copyright on their contributions.