aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorniszet <niszet0016@gmail.com>2020-09-25 01:28:38 +0900
committerGitHub <noreply@github.com>2020-09-24 09:28:38 -0700
commit1f707da40fa2a916fe6f8f86720494eadfc5ae9e (patch)
tree9c4f575025fa86c9d4b0382c9c2cfed5b611e86b /data
parent09d39e0e98258bf74c019623d1b2a63661d57dde (diff)
downloadpandoc-1f707da40fa2a916fe6f8f86720494eadfc5ae9e.tar.gz
Support toc-depth option for ODT writer (#6697)
To support `--toc-depth` option for ODT, writer and template are updated. Closes #6696.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.opendocument2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/default.opendocument b/data/templates/default.opendocument
index e34c8d500..2eff86d7b 100644
--- a/data/templates/default.opendocument
+++ b/data/templates/default.opendocument
@@ -31,7 +31,7 @@ $include-before$
$endfor$
$if(toc)$
<text:table-of-content>
- <text:table-of-content-source text:outline-level="10">
+ <text:table-of-content-source text:outline-level="$toc-depth$">
<text:index-title-template text:style-name="Contents_20_Heading">$toc-title$</text:index-title-template>
<text:table-of-content-entry-template text:outline-level="1"
text:style-name="Contents_20_1">