cmarkfmt 0.1.2

A library for formatting CommonMark
Documentation
  • Coverage
  • 100%
    9 out of 9 items documented2 out of 9 items with examples
  • Size
  • Source code size: 34.99 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.81 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • ryanfowler/cmarkfmt
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ryanfowler

cmarkfmt

A CommonMark formatter library for Rust.

Usage

let input = r#"# This is markdown
It *needs* to be formatted."#;

let cmfmt = cmarkfmt::Formatter::default();
let output = cmfmt.format_cmark(input);
println!("{output}");