mdqy 0.1.4

jq for markdown: query and transform Markdown with a hybrid selector and jq DSL
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[cfg(feature = "schema-export")]
fn main() {
    let schema = schemars::schema_for!(mdqy::NodeKind);
    println!("{}", serde_json::to_string_pretty(&schema).unwrap());
}

#[cfg(not(feature = "schema-export"))]
fn main() {
    eprintln!("rebuild with --features schema-export");
    std::process::exit(2);
}