No description
|
|
||
|---|---|---|
| .woodpecker | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| PKGBUILD | ||
| README.md | ||
| renovate.json | ||
mdlint
Deprecated.
mdlintis no longer maintained. All functionality has been absorbed into jsaw.Migration:
# mdlint schema.json doc.md jsaw validate doc.md --schema schema.json # mdlint --greedy schema.json doc.md jsaw validate doc.md --schema schema.json --greedy # mdlint --empty-frontmatter schema.json doc.md jsaw validate doc.md --schema schema.json --empty-frontmatter # mdlint --ignore-missing-frontmatter schema.json doc.md jsaw validate doc.md --schema schema.json --ignore-missing-frontmatter # Validate a whole directory recursively jsaw validate ./docs --schema schema.json --recursive
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 |