{
 "kind": "tool",
 "slug": "markdownlint-cli2",
 "path": "tools/markdownlint-cli2/",
 "name": "markdownlint-cli2",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Linting and formatting",
   "tools/lint-format/"
  ]
 ],
 "lead": "Fast, flexible CLI for linting Markdown files with configuration support.",
 "chips": [
  {
   "label": "Linting and formatting",
   "path": "tools/lint-format/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install markdownlint-cli2"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/DavidAnson/markdownlint-cli2"
  },
  {
   "label": "Website",
   "href": "https://github.com/DavidAnson/markdownlint-cli2"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/DavidAnson/markdownlint-cli2"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "",
   "src": "https://github.com/DavidAnson/markdownlint-cli2"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "72 projects",
   "status": "info",
   "sub": "#13 of 83 in its category",
   "note": "Dependency in 72 public GitHub projects set up for AI coding agents that we scanned (1.2%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What markdownlint-cli2 does",
   "parts": [
    {
     "t": "prose",
     "text": "Fast, flexible CLI for linting Markdown files with configuration support."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "markdownlint-cli2 popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "54",
       "of": "/ 100",
       "l": "Gid Score, #1550 overall"
      },
      {
       "n": "3M",
       "l": "downloads a week, npm"
      },
      {
       "n": "987",
       "l": "GitHub stars"
      },
      {
       "n": "72",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How markdownlint-cli2 is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "markdownlint-cli2 is a dependency in 72 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.5% of the 4,867 JavaScript/TypeScript ones), #13 of 83 in linting and formatting.",
      "The most used alternative in our scan is Prettier (1,320 projects).",
      "Projects that use it most often also use jsdom (47.2%), Pillow (34.7%), Lefthook (33.3%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "57 projects, 1.9%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "36 projects, 1.1%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "11 projects, 2.3%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "10 projects, 0.4%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "9 projects, 1.9%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 47.2% of its projects",
       "v": "jsdom",
       "path": "tools/jsdom/"
      },
      {
       "l": "In 34.7% of its projects",
       "v": "Pillow",
       "path": "tools/pillow/"
      },
      {
       "l": "In 33.3% of its projects",
       "v": "Lefthook",
       "path": "tools/lefthook/"
      },
      {
       "l": "In 33.3% of its projects",
       "v": "markdown-link-check",
       "path": "tools/markdown-link-check/"
      },
      {
       "l": "In 31.9% of its projects",
       "v": "npm-run-all2",
       "path": "tools/npm-run-all2/"
      },
      {
       "l": "In 31.9% of its projects",
       "v": "Matplotlib",
       "path": "tools/matplotlib/"
      },
      {
       "l": "In 51.4% of its projects",
       "v": "Prettier",
       "path": "tools/prettier/"
      },
      {
       "l": "In 30.6% of its projects",
       "v": "fast-xml-parser",
       "path": "tools/fast-xml-parser/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about markdownlint-cli2",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/DavidAnson",
        "7 GitHub sponsors"
       ]
      },
      {
       "title": "More in Linting and formatting",
       "path": "tools/lint-format/",
       "items": [
        {
         "text": "ESLint",
         "path": "tools/eslint/"
        },
        {
         "text": "Biome",
         "path": "tools/biomejs/"
        },
        {
         "text": "oxlint",
         "path": "tools/oxlint/"
        },
        {
         "text": "oxfmt",
         "path": "tools/oxfmt/"
        },
        {
         "text": "Knip",
         "path": "tools/knip/"
        },
        {
         "text": "stylelint",
         "path": "tools/stylelint/"
        },
        {
         "text": "ESLint Import Resolver TypeScript",
         "path": "tools/eslint-import-resolver-typescript/"
        },
        {
         "text": "oxlint-tsgolint",
         "path": "tools/oxlint-tsgolint/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "markdownlint-cli2",
       "me": true,
       "facts": [
        "MIT",
        "Gid 54",
        "3M/wk"
       ]
      },
      {
       "name": "Prettier",
       "why": "Opinionated code formatter for JavaScript, TypeScript, and related languages.",
       "path": "tools/prettier/",
       "facts": [
        "MIT",
        "Gid 90",
        "197M/wk"
       ]
      }
     ],
     "more": "Compare markdownlint-cli2 with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install markdownlint-cli2"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for markdownlint-cli2 yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm markdownlint-cli2"
  ],
  [
   "Category",
   "Linting and formatting"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "53.9"
  ],
  [
   "Rank in category",
   "#13 of 83"
  ],
  [
   "GitHub",
   "DavidAnson/markdownlint-cli2"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/davidanson.png"
}