---
name: markdownlint
description: "Use when adopting markdownlint to assess this standard: Keep Markdown structure predictable"
---

# Apply markdownlint

Check heading order, list structure, code fences and other Markdown conventions. Keep repository-specific rule settings close to the documents they govern.

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by markdownlint.
2. Use markdownlint in this repository to meet this standard: Keep Markdown structure predictable. Check heading order, list structure, code fences and other Markdown conventions. Keep repository-specific rule settings close to the documents they govern. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://github.com/DavidAnson/markdownlint) for configuration and prerequisites.
