Practical CI testing for markdown files
Go to file
Michael Billington e85edaea82 add main file 2017-06-03 21:10:21 +10:00
README.md add main file 2017-06-03 21:10:21 +10:00
mdcheckr add main file 2017-06-03 21:10:21 +10:00

README.md

mdcheckr

Practical CI testing for markdown files.

Installation

Requirements:

  • curl
  • xmllint
  • pandoc
git clone https://github.com/mike42/mdcheckr
cp mdcheckr/mdcheckr /usr/local/bin

Usage

Check a single markdown file

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