Bug description
The toc-depth option does not seem to work when outputting to Beamer (just defaults to showing sections only).
Steps to reproduce
---
title: "Test"
format:
beamer:
toc: true
toc-depth: 2
slide-level: 3
---
# Section 1
## A subsection
### A slide
# Section 2
## Another subsection
### Another slide
Expected behavior
Should show subsections as part of the TOC since toc-depth: 2.
Actual behavior
Only shows sections in TOC:

Your environment
- IDE: VSCodium 1.80.1
- OS: MacOS Ventura 13.4.1 (22F82)
Quarto check output
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.1: OK
Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.3.433
Path: /Applications/quarto/bin
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.10.12 (Conda)
Path: /opt/homebrew/Caskroom/miniforge/base/bin/python
Jupyter: 5.3.1
Kernels: julia-0.4, matlab_kernel, python3
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........OK
Version: 4.3.1
Path: /Library/Frameworks/R.framework/Resources
LibPaths:
- /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library
knitr: 1.43
rmarkdown: 2.23
[✓] Checking Knitr engine render......OK
Bug description
The
toc-depthoption does not seem to work when outputting to Beamer (just defaults to showing sections only).Steps to reproduce
Expected behavior
Should show subsections as part of the TOC since
toc-depth: 2.Actual behavior
Only shows sections in TOC:
Your environment
Quarto check output
[✓] Checking versions of quarto binary dependencies... Pandoc version 3.1.1: OK Dart Sass version 1.55.0: OK [✓] Checking versions of quarto dependencies......OK [✓] Checking Quarto installation......OK Version: 1.3.433 Path: /Applications/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.10.12 (Conda) Path: /opt/homebrew/Caskroom/miniforge/base/bin/python Jupyter: 5.3.1 Kernels: julia-0.4, matlab_kernel, python3 [✓] Checking Jupyter engine render....OK [✓] Checking R installation...........OK Version: 4.3.1 Path: /Library/Frameworks/R.framework/Resources LibPaths: - /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library knitr: 1.43 rmarkdown: 2.23 [✓] Checking Knitr engine render......OK