1 2 3 4 5 6 7 8 9 10 11 12 13 14
# cmarkfmt A CommonMark formatter library for Rust. ## Usage ```rust let input = r#"# This is markdown It *needs* to be formatted."#; let cmfmt = cmarkfmt::Formatter::default(); let output = cmfmt.format_cmark(input); println!("{output}"); ```