#markdown #common-mark #render #converter

pulldown-cmark-to-cmark

Convert pulldown-cmark Events back to the string they were parsed from

23 stable releases (6 major)

new 7.1.1 Dec 5, 2021
7.1.0 Nov 25, 2021
6.0.4 Sep 25, 2021
6.0.2 Jun 23, 2021
1.1.0 Feb 13, 2018

#30 in Text processing

Download history 4713/week @ 2021-08-16 4658/week @ 2021-08-23 5161/week @ 2021-08-30 5747/week @ 2021-09-06 6382/week @ 2021-09-13 5982/week @ 2021-09-20 6071/week @ 2021-09-27 6594/week @ 2021-10-04 6523/week @ 2021-10-11 6217/week @ 2021-10-18 4971/week @ 2021-10-25 4847/week @ 2021-11-01 5712/week @ 2021-11-08 5791/week @ 2021-11-15 5507/week @ 2021-11-22 4985/week @ 2021-11-29

22,556 downloads per month
Used in 35 crates (25 directly)

Apache-2.0

25KB
460 lines

Crates.io Rust

A utility library which translates Event back to markdown. It's the prerequisite for writing markdown filters which can work as mdbook-preprocessors.

This library takes great pride in supporting everything that pulldown-cmark supports, including tables and footnotes and codeblocks in codeblocks, while assuring quality with a powerful test suite.

How to use

Please have a look at the stupicat-example for a complete tour of the API, or have a look at the api-docs.

It's easiest to get this library into your Cargo.toml using cargo-add:

cargo add pulldown-cmark-to-cmark

Friends of this project

  • termbook
    • A runner for mdbooks to keep your documentation tested.
  • Share Secrets Safely
    • share secrets within teams to avoid plain-text secrets from day one

Maintenance Guide

Making a new release

  • Assure all documentation is up-to-date and tests are green
  • update the version in Cargo.toml and git commit
  • run cargo release --no-dev-version

Dependencies

~635KB
~15K SLoC