1
0
Fork 0
mirror of https://github.com/nickpoida/og-aws.git synced 2025-02-13 18:32:01 +00:00
og-aws/admin/reformat.sh

15 lines
325 B
Bash
Raw Normal View History

2016-07-26 21:05:17 +00:00
#!/bin/bash
# Put main main Markdown files into canonical syntax (in place!) with markdownfmt.
set -e -u -o pipefail
hash markdownfmt >/dev/null 2>&1 || {
echo >&2 "markdownfmt missing: Install https://github.com/shurcooL/markdownfmt and re-run"
exit 1
}
cd $(dirname $0)/..
markdownfmt -w README.md CONTRIBUTING.md