Hello,
With "Preview in Viewer panel" enabled
rendering a Quarto/revealjs
file shows the slideshow in the Viewer at a particular slide.
Usually, it is the slide on which the cursor is on in the *qmd
file. I find this very convenient because the cursor is typically left at the slide that has been edited last.
However, this is not always the case. Oftentimes, the slide shown is one or more slides down the line. I find very cumbersome to have to click and navigate back to the slide I am editing…
After trial and error, I have traced down the behavior to the absence/presence of callout
blocks. (There might be other reasons.)
In the minimal reproducible example below, the alignment between cursor position and slide shown after rendering depends on the absence/presence of a callout on slide 2.
---
title: "Untitled"
format:
revealjs:
default
---
## Quarto
Quarto enables you to weave together content and executable code into a finished document.
## Callout
::: {.callout-tip}
## Callout title
Some text
:::
<!-- Replace callout above by plain text to see the difference -->
## Filler slide 1
{{< lipsum 1 >}}
## Filler slide 2
{{< lipsum 1 >}}
Any thoughts on why, or remedies please? Thanks!