#markdown #common-mark #converter #render #test-suite

pulldown-cmark-to-cmark

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

40 stable releases (14 major)

15.0.1 Jun 16, 2024
14.0.1 Jun 10, 2024
13.0.0 Mar 17, 2024
12.0.0 Mar 16, 2024
1.1.0 Feb 13, 2018

#71 in Text processing

Download history 69990/week @ 2024-03-30 72797/week @ 2024-04-06 77186/week @ 2024-04-13 72673/week @ 2024-04-20 75372/week @ 2024-04-27 68600/week @ 2024-05-04 85223/week @ 2024-05-11 82162/week @ 2024-05-18 84084/week @ 2024-05-25 105813/week @ 2024-06-01 112409/week @ 2024-06-08 97381/week @ 2024-06-15 93807/week @ 2024-06-22 97536/week @ 2024-06-29 107472/week @ 2024-07-06 92652/week @ 2024-07-13

412,300 downloads per month
Used in 80 crates (54 directly)

Apache-2.0

45KB
898 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

~1MB
~21K SLoC