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'."
|
log "Compiling '$source' to '$ebook'."
|
||||||
pandoc "$source" \
|
pandoc "$source" \
|
||||||
-s -N --toc --toc-depth=4 \
|
-s -N --toc-depth=4 \
|
||||||
-o "$ebook" \
|
-o "$ebook" \
|
||||||
>/dev/null
|
>/dev/null
|
||||||
status=$?
|
status=$?
|
||||||
|
|||||||
Reference in New Issue
Block a user