-
-
Notifications
You must be signed in to change notification settings - Fork 528
Add Markdown lint/format #3954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
arkid15r
merged 7 commits into
OWASP:main
from
gopal-lohar:feature/markdown-lint-format
Feb 15, 2026
Merged
Add Markdown lint/format #3954
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
29d0565
add igorshubovych/markdownlint pre-commit hook
gopal-lohar c6a14bb
configure markdownlint to run on all markdown files
gopal-lohar ed21fff
run markdown-lint
gopal-lohar 071105e
revert docs formatting to preserve MkDocs rendering
gopal-lohar 717c1ed
globally disable MD041/first-line-heading
gopal-lohar 020d8d1
Update README.md
arkid15r b2a9388
Merge branch 'main' into feature/markdown-lint-format
arkid15r File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| default: true | ||
|
|
||
| # MD003/heading-style | ||
| MD003: | ||
| style: atx | ||
|
|
||
| # MD004/ul-style | ||
| MD004: | ||
| style: dash | ||
|
|
||
| # MD013/line-length | ||
| MD013: false | ||
|
|
||
| # MD024/no-duplicate-heading | ||
| MD024: false | ||
|
|
||
| # MD033/no-inline-html | ||
| MD033: false | ||
|
|
||
| # MD041/first-line-heading | ||
| MD041: false | ||
|
|
||
| # MD046/code-block-style | ||
| MD046: | ||
| style: fenced | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| <!-- Disabling MD046 to preserve MkDocs rendering --> | ||
| <!-- markdownlint-disable MD046 --> | ||
| # Code of Conduct | ||
|
|
||
| ## Our Pledge | ||
|
|
@@ -19,11 +21,11 @@ | |
|
|
||
| We encourage behaviors that contribute to a positive environment: | ||
|
|
||
| - Demonstrating empathy and kindness toward other people | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I tried https://github.com/DavidAnson/markdownlint-cli2 too but it created some issues.
|
||
| - Being respectful of differing opinions, viewpoints, and experiences | ||
| - Giving and gracefully accepting constructive feedback | ||
| - Accepting responsibility and apologizing for mistakes | ||
| - Focusing on what is best for the overall community | ||
| - Demonstrating empathy and kindness toward other people | ||
| - Being respectful of differing opinions, viewpoints, and experiences | ||
| - Giving and gracefully accepting constructive feedback | ||
| - Accepting responsibility and apologizing for mistakes | ||
| - Focusing on what is best for the overall community | ||
|
|
||
| ### Unacceptable Behaviors | ||
|
|
||
|
|
@@ -39,6 +41,7 @@ We encourage behaviors that contribute to a positive environment: | |
| ### Responsibilities | ||
|
|
||
| !!! info "Leadership Role" | ||
|
|
||
| Community leaders are responsible for: | ||
|
|
||
| - Clarifying and enforcing standards of acceptable behavior | ||
|
|
@@ -82,8 +85,6 @@ Community leaders follow these impact guidelines when determining consequences: | |
|
|
||
| This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html), version 2.0, available at [contributor-covenant.org](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html). | ||
|
|
||
|
|
||
|
|
||
| Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity). | ||
|
|
||
| !!! note "Additional Resources" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Uh oh!
There was an error while loading. Please reload this page.