Markdown Lint

Guide for linting markdown files using markdownlint-cli2. Use this when asked to lint markdown, fix markdown formatting, or check markdown files. Use when this capability is needed.

tomevault-io Updated

File contents

Markdown Linting with markdownlint-cli2

Commands

# Lint markdown files
npm run markdown-lint

# Auto-fix markdown issues
npm run markdown-lint:fix

Configuration

Configuration is in .markdownlint-cli2.yaml. See that file for enabled rules and ignored paths.

Rule reference

Workflow

  1. Run npm run markdown-lint to identify issues
  2. Run npm run markdown-lint:fix to auto-fix most issues
  3. Manually fix remaining issues if needed
  4. Verify with npm run markdown-lint

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/heaths--akv-cli-rs--markdown-lint commit 76cb01140f

Frequently asked questions

npx skillmds@latest add tomevault-io/markdown-lint