Go to file
2024-03-26 13:20:03 +01:00
src add options for empty frontmatter 2024-03-08 11:49:36 +01:00
.gitignore init 2023-10-30 13:29:13 +01:00
Cargo.lock add options for empty frontmatter 2024-03-08 11:49:36 +01:00
Cargo.toml add options for empty frontmatter 2024-03-08 11:49:36 +01:00
README.md update README 2024-03-26 13:20:03 +01:00

mdlint

Validate markdown frontmatter using JSON Schemas

Usage

$ mdlint [OPTIONS] <SchemaFile> <MarkdownFile> 

Options

Option Description
-g, --greedy Require all properties to be present even if they are not strictly required in schema
-e, --empty-frontmatter Treat missing frontmatter as empty frontmatter
-i, --ignore-missing-frontmatter Dont print an error when no frontmatter has been found
-h, --help Print help
-V, --version Print version