Move creation of table of contents to header file.
This commit is contained in:
@@ -79,7 +79,7 @@ function convert {
|
||||
|
||||
log "Compiling '$source' to '$ebook'."
|
||||
pandoc "$source" \
|
||||
-s -N --toc --toc-depth=4 \
|
||||
-s -N --toc-depth=4 \
|
||||
-o "$ebook" \
|
||||
>/dev/null
|
||||
status=$?
|
||||
|
||||
Reference in New Issue
Block a user