-
DescriptionHello, (This question received no answer at the Posit community forum.)
With "Preview in Viewer panel" enabled rendering a Usually, it is the slide on which the cursor is on in the 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 see the slide I am editing… After trial and error, I have traced down the behavior to the absence/presence of 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. To appreciate this, place the cursor on Slide 3 and render with/without the call-out block. Any thoughts on why, or remedies please? Thanks! ---
title: "Untitled"
format:
revealjs:
default
---
## Slide 1 Quarto
Quarto enables you to weave together content and executable code into a finished document.
## Slide 2 Callout
::: {.callout-tip}
## Callout title
Some text
:::
<!-- Replace callout above by plain text to see the difference -->
## Slide 3 Filler slide 1
{{< lipsum 1 >}}
## Slide 4 Filler slide 2
{{< lipsum 1 >}}
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
I think this function is directly integrated inside RStudio IDE. @kevinushey do you know about "Preview in viewer Pane" inside the RStudio IDE and which code controls the behavior around it? I don't think we have that in the VSCODE quarto extension. Just want to check before opening an issue in rstudio github repo. |
Beta Was this translation helpful? Give feedback.
-
I do not know either.
This works for me. In my tests level 3 is more important that empty lines, but I will use both. Note that the help documentation about Thanks! |
Beta Was this translation helpful? Give feedback.

There is "slide tracking" in VSCode/Positron, but I cannot reproduce a systematic weird behaviour in this case using the provided example.
It is known that slide tracking is not perfect.
Screen.Recording.2025-12-09.at.15.49.10.mov
One thing that could help would be to format properly the callout div, using the empty lines around the header and using level 3 to avoid slide level confusion.
::: {.callout-note} ### Callout title Some text :::