doubter 0.0.1

A helper crate for testing Rust code blocks in Markdown
Documentation

doubter

crates.io Docs.rs Build Status

A helper crate for testing Rust code blocks in Markdown.

Status

Experimental

Usage

#[macro_use]
extern crate doubter;

doubter! {
    file = "doc/print_foo.md",
    file = "README.md",
}

The macro doubter!() cannot be called twice in the same scope.

(See also dtolnay/proc-macro-hack#2).

Tasks

  • validate the input Markdown files
    • add support for custom info
  • add pattern = "..." or support glob pattern in file = "..."
  • add root_dir = "..."
  • add include = [...] and exclude = [...]

License

MIT license