lini 0.2.0

A small, human-readable language for plain-text diagrams that compiles to clean SVG
Documentation
1
2
3
4
5
6
#[test]
fn hello_sample_compiles_to_expected_svg() {
    let src = std::fs::read_to_string("samples/hello.lini").expect("read samples/hello.lini");
    let svg = lini::compile_str(&src).expect("compile hello.lini");
    insta::assert_snapshot!(svg);
}