DEV Community

Cover image for Useful Markdown CLI Commands
ahandsel
ahandsel

Posted on • Edited on

Useful Markdown CLI Commands

Markdown Linters

Run markdown-link-check to check broken links - tcort/markdown-link-check

find . -name \*.md -not -path "./node_modules/*" -print0 | xargs -0 -n1 markdown-link-check -p -q
Enter fullscreen mode Exit fullscreen mode

Run markdownlint to check markdown syntax - igorshubovych/markdownlint-cli

markdownlint '**/*.md' --ignore node_modules
Enter fullscreen mode Exit fullscreen mode

Top comments (0)