#markdown #common-mark #render #converter

pulldown-cmark-to-cmark

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

14 stable releases (3 major)

✓ Uses Rust 2018 edition

4.0.2 Jun 5, 2020
4.0.0 Apr 22, 2020
3.0.1 Apr 22, 2020
2.0.1 Jan 31, 2020
1.1.0 Feb 13, 2018

#40 in Text processing

Download history 68/week @ 2020-03-12 106/week @ 2020-03-19 118/week @ 2020-03-26 176/week @ 2020-04-02 285/week @ 2020-04-09 230/week @ 2020-04-16 302/week @ 2020-04-23 170/week @ 2020-04-30 141/week @ 2020-05-07 593/week @ 2020-05-14 304/week @ 2020-05-21 166/week @ 2020-05-28 247/week @ 2020-06-04 204/week @ 2020-06-11 141/week @ 2020-06-18 154/week @ 2020-06-25

923 downloads per month
Used in 14 crates (13 directly)

Apache-2.0

23KB
406 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

~520KB
~13K SLoC