#markdown #common-mark #render #converter

pulldown-cmark-to-cmark

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

30 stable releases (9 major)

10.0.4 Sep 10, 2022
10.0.2 Jun 28, 2022
10.0.1 Mar 12, 2022
9.0.0 Dec 31, 2021
1.1.0 Feb 13, 2018

#52 in Text processing

Download history 18262/week @ 2023-02-08 18896/week @ 2023-02-15 17235/week @ 2023-02-22 16574/week @ 2023-03-01 16940/week @ 2023-03-08 17400/week @ 2023-03-15 17316/week @ 2023-03-22 18391/week @ 2023-03-29 20366/week @ 2023-04-05 20595/week @ 2023-04-12 18929/week @ 2023-04-19 19051/week @ 2023-04-26 21105/week @ 2023-05-03 21555/week @ 2023-05-10 19743/week @ 2023-05-17 18825/week @ 2023-05-24

84,546 downloads per month
Used in 58 crates (41 directly)

Apache-2.0

29KB
547 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

~700KB
~16K SLoC