You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Issue with Tracking Slides in Quarto Revealjs when using Callouts #11614
RStudio Edition : Desktop
RStudio Version : 2022.07.0+548
OS Version : Windows 11
R Version : 4.2.1
RStudio 2022.07.0+548 "Spotted Wakerobin" Release (34ea303, 2022-07-06) for Windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.8 Chrome/69.0.3497.128 Safari/537.36
Steps to reproduce the problem
Create a new Quarto Presentation
Copy in the following code
Render the presentation
Navigate to Slide 4 or 5 in the Presentation pane
Click the "Edit" button in the Presentation pane
---
title: "Untitled"
format: revealjs
---
## Slide 1
Slide Text
## Slide 2
Slide Text
## Slide 3
::: {.callout-note icon="false"}
## Callout Caption
Callout Text
:::
## Slide 4
Slide Text
## Slide 5
Slide Text
Describe the problem in detail
In a revealjs Quarto presentation, if you include a callout with a caption on one of your slides, it will break the ability to use the "Edit" button on all subsequent slides. Similarly, on subsequent slides, clicking "Render" will display the wrong slide in the presentation pane (which is really annoying and time-consuming to keep moving backwards).
I assume this is because the callout caption is also a heading element. However, changing the caption from H2 to H3, H4, etc. does not fix the problem. Perhaps RStudio could ignore headings within callouts or the callout captions could be configured in some other way that does not involve headings.
Describe the behavior you expected
The cursor in the Source pane should move to line 23 (i.e., ## Slide 4). However, it moves to line 18 (i.e., ## Callout Caption).
Activity
ronblum commentedon Jul 13, 2022
@jmgirard Thank you for raising the issue! We'll review it as we continue development of RStudio and its integration with Quarto.
github-actions commentedon Apr 17, 2023
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
github-actions commentedon Jun 3, 2023
This issue has been automatically closed due to inactivity.