Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 621 Bytes

File metadata and controls

25 lines (18 loc) · 621 Bytes

Markdown Linter

Usage

Pull the mdlint image from Docker Hub:

docker image pull training/mdlint:dev

In the directory that contains the HTML code you want to check, run:

docker container run -v $(PWD):/raw training/mdlint:dev

Checks for:

  • newline at the end of all exercises
  • two spaces after single digit step numerals (ie one-dot-space-space, not just single space)
  • 4 space indents
  • no double blank lines inside code blocks
  • code blocks should be surrounded by a blank line before and after
  • code block lines <= 90 char
  • broken URLs in Markdown files