Install
openclaw skills install markdown-linter-cliLint Markdown files for formatting issues, broken links, and style consistency.
openclaw skills install markdown-linter-cliA CLI tool to lint Markdown files for common formatting issues, style consistency, and broken links. Helps maintain documentation quality by catching errors before publication.
Key features:
Run the skill with:
./scripts/main.py run --input path/to/file.md
Or lint multiple files:
./scripts/main.py run --input "*.md"
--input: Path to Markdown file(s) (supports glob patterns)--max-line-length: Maximum allowed line length (default: 80)--check-external-links: Enable external URL validation (default: false)--ignore-rules: Comma-separated list of rule IDs to ignoreReturns JSON with linting results:
{
"file": "example.md",
"issues": [
{
"line": 10,
"column": 1,
"rule": "MD001",
"severity": "warning",
"message": "Header levels should only increment by one level at a time",
"fix": "Change ## to #"
}
],
"summary": {
"total_issues": 5,
"errors": 2,
"warnings": 3
}
}
Basic linting:
./scripts/main.py run --input README.md
With custom line length:
./scripts/main.py run --input docs/*.md --max-line-length 100
With external link validation:
./scripts/main.py run --input "**/*.md" --check-external-links