mdbook-lint 0.10.0

A fast markdown linter for mdBook
Documentation

mdbook-lint CLI and preprocessor

This crate provides the command-line interface and mdBook preprocessor functionality for mdbook-lint. It builds on the mdbook-lint-core library to provide CLI tools and mdBook integration.

Basic Usage

use mdbook_lint::{create_engine_with_all_rules, Document};
use std::path::PathBuf;

let engine = create_engine_with_all_rules();
let document = Document::new("# Hello".to_string(), PathBuf::from("test.md"))?;
let violations = engine.lint_document(&document)?;
# Ok::<(), Box<dyn std::error::Error>>(())