6a1d5dcc26 | ||
---|---|---|
debian | ||
tests | ||
.travis.yml | ||
CONTRIBUTING.md | ||
LICENSE.md | ||
Makefile | ||
README.md | ||
mdcheckr | ||
mdcheckr.1 |
README.md
mdcheckr
Practical CI testing for markdown files.
Dependencies
Requirements:
- curl
- xmllint
- pandoc
Installation
curl https://raw.githubusercontent.com/mike42/mdcheckr/master/mdcheckr -o mdcheckr
chmod +x mdcheckr
sudo cp mdcheckr /usr/local/bin
Usage
Check a single markdown file:
mdcheckr README.md
Check all the markdown files in the current directory:
find . -name '*.md' -print0 | xargs -0 mdcheckr
Check all the markdown files in your Git repository:
git ls-files | grep '\.md$' | tr '\n' '\0' | xargs -0 mdcheckr