This commit is contained in:
Ben Grande 2023-11-03 23:47:48 +00:00
parent e0368d4a15
commit ae6e79bcf4
No known key found for this signature in database
GPG key ID: 00C64E14F51F9E56
90 changed files with 1172 additions and 135 deletions

View file

@ -34,4 +34,5 @@ for f in "$@"; do
echo "Could not find table of contents on file: $f" >&2; exit 1
fi
vim -c 'norm zRgg' -c '/^## Table of Contents$' -c 'norm jd}k' -c ':GenTocGFM' -c 'norm ddgg' -c wq -- "${f}"
echo "Updated TOC in file: $f"
done