3 个版本

0.1.2 2023 年 6 月 4 日
0.1.1 2023 年 1 月 14 日
0.1.0 2023 年 1 月 14 日

2908解析器实现 中排名

Download history · Rust 包仓库 30/week @ 2024-03-11 · Rust 包仓库 9/week @ 2024-03-18 · Rust 包仓库 48/week @ 2024-03-25 · Rust 包仓库 31/week @ 2024-04-01 · Rust 包仓库 73/week @ 2024-04-15 · Rust 包仓库 37/week @ 2024-04-22 · Rust 包仓库 54/week @ 2024-04-29 · Rust 包仓库 14/week @ 2024-05-06 · Rust 包仓库 23/week @ 2024-05-13 · Rust 包仓库 3/week @ 2024-05-27 · Rust 包仓库 49/week @ 2024-06-03 · Rust 包仓库 27/week @ 2024-06-10 · Rust 包仓库 4/week @ 2024-06-17 · Rust 包仓库 13/week @ 2024-06-24 · Rust 包仓库

93 每月下载次数
用于 metafmt

MIT 许可证

26KB
620

cmarkfmt

Rust 的 CommonMark 格式化库。

使用方法

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

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

lib.rs:

cmarkfmt

用于格式化 CommonMark 文件的库。

使用方法

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

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

依赖项

~1.5MB
~24K SLoC