[GH-ISSUE #541] MSBuild-integrated Markdown linting for .NET projects #2290

Closed
opened 2026-03-07 20:06:23 +03:00 by kerem · 2 comments
Owner

Originally created by @Piedone on GitHub (Jul 29, 2022).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/541

(I'd have opened a Discussions thread for this if that feature would be enabled. Sorry if this is not a good place for such show and tell announcements.)

Something curious you might like: In our Lombiq Node.js Extensions project we've added Markdown linting, utilizing markdownlint too, in a way that it automatically runs as part of an MSBuild build process. This means that for .NET projects, lining for Markdown files happens automatically, as part of the normal build, and you get linter errors as build errors. This is how .NET static code analysis works as well, so this way, Markdown linting fits seamlessly into the .NET developer experience. See docs here.

What do you think?

Originally created by @Piedone on GitHub (Jul 29, 2022). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/541 (I'd have opened a Discussions thread for this if that feature would be enabled. Sorry if this is not a good place for such show and tell announcements.) Something curious you might like: In our [Lombiq Node.js Extensions project](https://github.com/Lombiq/NodeJs-Extensions) we've added Markdown linting, utilizing markdownlint too, in a way that it automatically runs as part of an MSBuild build process. This means that for .NET projects, lining for Markdown files happens automatically, as part of the normal build, and you get linter errors as build errors. This is how .NET static code analysis works as well, so this way, Markdown linting fits seamlessly into the .NET developer experience. See [docs here](https://github.com/Lombiq/NodeJs-Extensions/blob/dev/Lombiq.NodeJs.Extensions/Docs/Markdown.md). What do you think?
kerem 2026-03-07 20:06:23 +03:00
Author
Owner

@DavidAnson commented on GitHub (Jul 29, 2022):

This sounds awesome! If you want to send a PR to add a link to the "Related "section of the README, that may help spread the word. (Please have a look at CONTRIBUTING.md before doing so.)

<!-- gh-comment-id:1199644310 --> @DavidAnson commented on GitHub (Jul 29, 2022): This sounds awesome! If you want to send a PR to add a link to the "Related "section of the README, that may help spread the word. (Please have a look at CONTRIBUTING.md before doing so.)
Author
Owner

@Piedone commented on GitHub (Jul 29, 2022):

Great idea, thanks, will do that.

<!-- gh-comment-id:1199772240 --> @Piedone commented on GitHub (Jul 29, 2022): Great idea, thanks, will do that.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#2290
No description provided.