cmarkfmt

Crates.iocmarkfmt
lib.rscmarkfmt
version0.1.2
sourcesrc
created_at2023-01-14 06:33:09.675067
updated_at2023-06-04 21:07:04.642571
descriptionA library for formatting CommonMark
homepage
repositoryhttps://github.com/ryanfowler/cmarkfmt
max_upload_size
id758722
size34,047
Ryan Fowler (ryanfowler)

documentation

README

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}");
Commit count: 15

cargo fmt