Search code examples
markdownstatic-analysis

Syntax/code style/writing checking tool for Markdown files


Is there a static "code" analysis tool that can check the syntax of a Markdown file? It would also be great to have a tool that validates a Markdown file against certain rules such as, e.g., Checkstyle does for Java and Pylint for Python.

I want to have such a tool in order to perform basic checks on my documentation files.


Solution

  • Markdownlint is a Ruby library which also contains a command line interface. There is also a JavaScript/Node clone without the command line interface.