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

pulldown-cmark-to-cmark

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

36 stable releases (12 major)

13.0.0 Mar 17, 2024
12.0.0 Mar 16, 2024
11.2.0 Jan 27, 2024
11.0.2 Nov 24, 2023
1.1.0 Feb 13, 2018

#154 in Text processing

Download history 56673/week @ 2024-02-06 49241/week @ 2024-02-13 58013/week @ 2024-02-20 60967/week @ 2024-02-27 60573/week @ 2024-03-05 58913/week @ 2024-03-12 59001/week @ 2024-03-19 60719/week @ 2024-03-26 73592/week @ 2024-04-02 72165/week @ 2024-04-09 76777/week @ 2024-04-16 74971/week @ 2024-04-23 73480/week @ 2024-04-30 71634/week @ 2024-05-07 80677/week @ 2024-05-14 70526/week @ 2024-05-21

311,841 downloads per month
Used in 78 crates (53 directly)

Apache-2.0

40KB
781 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