#markdown #common-mark #render #converter

pulldown-cmark-to-cmark

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

7 stable releases

1.2.4 Dec 2, 2019
1.2.3 Oct 28, 2019
1.2.2 Jul 3, 2019
1.2.0 Dec 20, 2018
1.1.0 Feb 13, 2018

#55 in Text processing

Download history 128/week @ 2019-08-19 283/week @ 2019-08-26 88/week @ 2019-09-02 143/week @ 2019-09-09 128/week @ 2019-09-16 106/week @ 2019-09-23 127/week @ 2019-09-30 129/week @ 2019-10-07 268/week @ 2019-10-14 226/week @ 2019-10-21 365/week @ 2019-10-28 314/week @ 2019-11-04 164/week @ 2019-11-11 341/week @ 2019-11-18 207/week @ 2019-11-25

865 downloads per month
Used in 8 crates

Apache-2.0

20KB
354 lines

Build Status dependency status

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 publish
  • run git tag -s <version>
  • run git push --tags origin master

Dependencies

~515KB
~13K SLoC