Bug description
If you set a title for your slideshow, when you modify a slide and the preview refreshes it jumps to the modified slide.
But without setting a title (so no title page is generated) it jumps to the next slide instead.
Steps to reproduce
Create a file with:
---
format: revealjs
---
## Getting up
- Turn off alarm
- Get out of bed
## Going to sleep
- Get in bed
- Count sheep
Start preview of said file:
quarto preview <file> --to revealjs --no-browser --no-watch-inputs
Change the first slide.
Expected behavior
The preview refreshes and jumps to the modified slide, whether there is a title or not.
Actual behavior
Without a title, it jumps to the slide that is after the modified one.
Your environment
- VSCode 1.92.0
- macOS Sonoma 14.4.1
Quarto check output
Quarto 1.5.56
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.2.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.41.0: OK
Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.5.56
Path: /Users/carlos/.venvs/base/lib/python3.12/site-packages/quarto_cli/bin
[✓] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: Installation From Path
Path: /opt/homebrew/bin
Version: undefined
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.12.4
Path: /Users/carlos/.venvs/base/bin/python3
Jupyter: 5.7.2
Kernels: python3
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........OK
Version: 4.4.1
Path: /opt/homebrew/Cellar/r/4.4.1/lib/R
LibPaths:
- /Users/carlos/.rlibs/base
- /Users/carlos/Documents/Util
- /opt/homebrew/lib/R/4.4/site-library
- /opt/homebrew/Cellar/r/4.4.1/lib/R/library
knitr: 1.45
rmarkdown: 2.26
[✓] Checking Knitr engine render......OK
Bug description
If you set a title for your slideshow, when you modify a slide and the preview refreshes it jumps to the modified slide.
But without setting a title (so no title page is generated) it jumps to the next slide instead.
Steps to reproduce
Create a file with:
Start preview of said file:
Change the first slide.
Expected behavior
The preview refreshes and jumps to the modified slide, whether there is a title or not.
Actual behavior
Without a title, it jumps to the slide that is after the modified one.
Your environment
Quarto check output
Quarto 1.5.56 [✓] Checking versions of quarto binary dependencies... Pandoc version 3.2.0: OK Dart Sass version 1.70.0: OK Deno version 1.41.0: OK Typst version 0.11.0: OK [✓] Checking versions of quarto dependencies......OK [✓] Checking Quarto installation......OK Version: 1.5.56 Path: /Users/carlos/.venvs/base/lib/python3.12/site-packages/quarto_cli/bin [✓] Checking tools....................OK TinyTeX: (not installed) Chromium: (not installed) [✓] Checking LaTeX....................OK Using: Installation From Path Path: /opt/homebrew/bin Version: undefined [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.12.4 Path: /Users/carlos/.venvs/base/bin/python3 Jupyter: 5.7.2 Kernels: python3 [✓] Checking Jupyter engine render....OK [✓] Checking R installation...........OK Version: 4.4.1 Path: /opt/homebrew/Cellar/r/4.4.1/lib/R LibPaths: - /Users/carlos/.rlibs/base - /Users/carlos/Documents/Util - /opt/homebrew/lib/R/4.4/site-library - /opt/homebrew/Cellar/r/4.4.1/lib/R/library knitr: 1.45 rmarkdown: 2.26 [✓] Checking Knitr engine render......OK