markdownlint-cli2

npm install -g markdownlint-cli2
# lint
markdownlint-cli2
# format
markdownlint-cli2-fix

Config .markdownlint-cli2.yaml

# https://github.com/DavidAnson/markdownlint
# https://github.com/DavidAnson/markdownlint-cli2
globs:
- "**/*.md"
ignores:
- ".git/**"
- ".github/**"
config:
# h1
MD025: false
# inline HTML
MD033: false