cmarkfmt 0.1.2

A library for formatting CommonMark
Documentation
1
2
3
4
5
6
7
8
use cmarkfmt::Formatter;

mod suite;

pub fn test_cmark(input: &str, expected: &str) {
    let out = Formatter::default().format_cmark(input);
    assert_eq!(expected, &out);
}