Publish Version 1.0 (#3)

This commit is contained in:
2024-03-06 19:46:23 -07:00
committed by GitHub
parent 5d2f632403
commit 43c8e5ab2c
5 changed files with 365 additions and 0 deletions

27
convert.sh Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/bash
# 2024-03-06 Hyperling
# PanDoc Usage: https://pandoc.org/MANUAL.html#general-writer-options
date
ebook="HyperlingsHealthProtocol.pdf"
if [[ -e $ebook ]]; then
echo -n "Old: "
du -h $ebook
rm -v $ebook
fi
pandoc ebook.md \
-s -N --toc --toc-depth=3 \
-o $ebook
status=$?
echo "Completed with status '$status'."
echo -n "New: "
du -h $ebook
date
exit $status