markdown-it-footnotes 0.1.0

Creates footnotes and lists of footnotes in Markdown documents.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use rstest::*;
use testing::Test;
use std::path::PathBuf;
use markdown_it_footnotes;

#[rstest]
fn main(#[files("tests/predone/test1-*.md")] path: PathBuf) {
    let mut parser = Test::default_parser();
    markdown_it_footnotes::add(&mut parser);
    let test = Test::from_file(path).unwrap();
    let matches = test.output_log(&parser);
    assert_eq!(matches.0, matches.1);
}