markdownlint-configuration

Configure markdownlint rules and options via JSON and YAML files.

187|20|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/TheBushidoCollective/han --skill markdownlint-configuration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: markdownlint-configuration
Source: https://github.com/TheBushidoCollective/han/tree/main/jutsu/jutsu-markdown/skills/markdownlint-configuration
Command: npx skills add https://github.com/TheBushidoCollective/han --skill markdownlint-configuration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill centralizes markdownlint configuration, including rule management, inline directives, and inheritance schemes for consistent Markdown style.

Core Features & Use Cases

  • Configuration files: .markdownlint.json setup for default rules.
  • Rule parameters: Per-rule options (style, indentation, etc.).
  • Inline directives: Disable or tailor checks within files.

Quick Start

Enable MD003 heading style and MD007 indentation in a .markdownlint.json for the project.

Frequently Asked Questions about markdownlint-configuration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up markdownlint configuration for consistent Markdown style across my project?

Markdownlint configuration enforces consistent Markdown style by defining rules in a .markdownlint.json or .markdownlint.yaml file at your project root. Create the file, enable or disable specific rules (like MD003 for heading style or MD013 for line length), and set per-rule options such as indentation or allowed formats. Run markdownlint against your Markdown files to validate compliance.

What are markdownlint rules and how do I customize them?

Markdownlint rules are individual checks that enforce Markdown formatting standards—examples include MD003 (heading style), MD007 (indentation), MD009 (trailing spaces), and MD035 (emphasis style). Customize each rule by setting its enabled state and parameters in your configuration file. Some rules accept style options (e.g., 'consistent', 'atx', 'setext') to match your documentation conventions.

Can I disable markdownlint checks for specific sections of my Markdown files?

Yes, markdownlint supports inline directives that disable or reconfigure rule checks within individual files. Use HTML comments like `<!-- markdownlint-disable MD003 -->` to turn off a rule for following content and `<!-- markdownlint-enable MD003 -->` to re-enable it. This lets you override global configuration for edge cases without modifying your configuration files.

Does markdownlint configuration support inheritance or extending shared rule sets?

Markdownlint configuration supports inheritance through the 'extends' property in JSON or YAML files, allowing you to reference a base configuration and override specific rules. This enables teams to maintain a shared rule set in a parent config file and extend it in project-specific files, reducing duplication while preserving local customization.

How do I validate my markdownlint configuration file?

Markdownlint validates configuration against a JSON schema during runtime; if your configuration file contains syntax errors or invalid rule options, markdownlint will report schema validation failures. Test your configuration by running markdownlint on sample Markdown files to ensure rules apply as intended and syntax is correct.

What Node.js environment do I need to use markdownlint configuration?

Markdownlint configuration runs on Node.js projects and requires Node.js installed on your system. Configuration files use standard JSON or YAML formats compatible with any Node.js version that markdownlint supports. No additional dependencies are required beyond markdownlint itself to define and apply rules.