cdoc 0.8.1

A markdown-based document parser and processor
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//| meta: label
fn somefunc(a: i64) {
    //| solution <<
    return 2 * a;
    //| placeholder
    // jkl
    //| >>
}

fn test() {
    assert!(somefunc(5) == 10);
    assert!(somefunc(10) == 20);
}