Skip to content

Added markdownlint2 for detecting Markdown formatting issues#3102

Draft
mnocon wants to merge 2 commits into5.0from
lint-markdown
Draft

Added markdownlint2 for detecting Markdown formatting issues#3102
mnocon wants to merge 2 commits into5.0from
lint-markdown

Conversation

@mnocon
Copy link
Contributor

@mnocon mnocon commented Mar 20, 2026

Target: v5, 4.6

Issues like in #3100 should be detected automatically by tools, we shouldn't stumble on it by mistake.

This PR adds a Markdown linter that can automatically detect issues like these.

Usage in GitLab:

https://docs.gitlab.com/development/documentation/testing/markdownlint/

Rules:

https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#rules

For now, I've only enabled the rules that:

  • don't report any errors
  • would detect the Markdwn table issue

For in the future we can consider more of them (but that would require more changes to the content, and I want to keep this PR small on purpose).

@sonarqubecloud
Copy link

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant