Typst writer/template: support --toc-depth as in other writers.

Closes #9242.
This commit is contained in:
John MacFarlane
2023-12-07 14:39:21 -08:00
parent e7348b4f76
commit 5bd301ef45
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ $endfor$
$if(toc)$
#outline(
title: auto,
depth: none
depth: $toc-depth$
);
$endif$