✓ Verified 💻 Development ✓ Enhanced Data

Markdown Linter

Validates Markdown files in the workspace for broken local links, missing file references, and basic

Rating
4.8 (490 reviews)
Downloads
1,268 downloads
Version
1.0.0

Overview

Validates Markdown files in the workspace for broken local links, missing file references, and basic syntax issues.

Complete Documentation

View Source →

Markdown Linter

A lightweight tool to validate Markdown files in the workspace. It focuses on ensuring internal consistency, particularly broken file links and missing references.

Capabilities

  • Link Validation: Checks link references to ensure the target file exists locally.
  • Header Check: Verifies that headers follow a logical hierarchy (e.g., H1 -> H2).
  • Code Block Check: Ensures code blocks have language identifiers where appropriate.

Usage

javascript
const linter = require('./index');
const results = await linter.scan('.'); // Scans current directory recursively
console.log(JSON.stringify(results, null, 2));

Output Format

json
{
  "totalFiles": 15,
  "brokenLinks": [
    {
      "file": "docs/README.md",
      "line": 10,
      "link": "./missing-image.png",
      "error": "File not found"
    }
  ],
  "syntaxErrors": []
}

Installation

Terminal bash

openclaw install markdown-linter
    
Copied!

💻Code Examples

example.js
const linter = require('./index');
const results = await linter.scan('.'); // Scans current directory recursively
console.log(JSON.stringify(results, null, 2));
example.json
{
  "totalFiles": 15,
  "brokenLinks": [
    {
      "file": "docs/README.md",
      "line": 10,
      "link": "./missing-image.png",
      "error": "File not found"
    }
  ],
  "syntaxErrors": []
}

Tags

#web_and-frontend-development

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author wanng-ide
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install markdown-linter