Let pandoc generate a table of contents

This commit is contained in:
James Gregory 2014-01-06 23:09:55 +11:00
commit 936bccf643
2 changed files with 2 additions and 906 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
pandoc -S -o black-book.epub --epub-chapter-level=2 \
index.md intro.md about.md about_author.md \
pandoc -S -o black-book.epub --toc --epub-chapter-level=2 \
intro.md about.md about_author.md \
chapter-01.md chapter-02.md chapter-03.md chapter-04.md chapter-05.md \
chapter-06.md chapter-07.md chapter-08.md chapter-09.md chapter-10.md \
chapter-11.md chapter-12.md chapter-13.md chapter-14.md chapter-15.md \