aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-12-07 14:39:21 -0800
committerJohn MacFarlane <[email protected]>2023-12-07 14:39:21 -0800
commit5bd301ef4589f30d0b18899a91df094aec74bf90 (patch)
tree104c00c1fcf5dee6512f3ab8a2d34b27d2d5005d /data
parente7348b4f769eb79973cdf52b11ec2a89bbca4a7f (diff)
Typst writer/template: support `--toc-depth` as in other writers.
Closes #9242.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.typst2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/default.typst b/data/templates/default.typst
index 7682c5bea..55864de92 100644
--- a/data/templates/default.typst
+++ b/data/templates/default.typst
@@ -76,7 +76,7 @@ $endfor$
$if(toc)$
#outline(
title: auto,
- depth: none
+ depth: $toc-depth$
);
$endif$