First Edition, Revision 1 (#4)

* Restore dev branch.

* Add variable processing.

* Revisions while creating audio version.
This commit is contained in:
2024-03-07 13:42:28 -07:00
committed by GitHub
parent 43c8e5ab2c
commit a29ee9fa54
2 changed files with 24 additions and 20 deletions

View File

@@ -12,7 +12,10 @@ if [[ -e $ebook ]]; then
rm -v $ebook
fi
pandoc ebook.md \
cp ebook.md /tmp/
sed -i "s/{REVISION_DATE}/`date +'%Y-%m-%d'`/g" /tmp/ebook.md
pandoc /tmp/ebook.md \
-s -N --toc --toc-depth=3 \
-o $ebook
status=$?