diff options
author | fr33domlover <fr33domlover@riseup.net> | 2019-10-03 19:10:08 +0300 |
---|---|---|
committer | fr33domlover <fr33domlover@riseup.net> | 2019-10-03 19:10:08 +0300 |
commit | 178c785bb285e8367e18fdc86ec6532af5437edc (patch) | |
tree | b816b3494f8ceaf677ab19514d90611fe0011ba9 | |
parent | fc694fae899e3c695170e55d587939e1e7f3ac81 (diff) |
Turn off section numbers when TOC is disabled
-rwxr-xr-x | build.sh | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -21,7 +21,7 @@ runPandoc () { local file="$2" if [ "$3" == "true" ]; then - local toc="--table-of-contents" + local toc="--table-of-contents --number-sections" else local toc="" fi @@ -54,7 +54,6 @@ runPandoc () { --variable "other-theme:$otherTheme" \ --variable "other-theme-name:$otherThemeName" \ --variable "suffix:$suffix" \ - --number-sections \ --output "$output" #$gitdirty \ } |