Skip to content

Wrong Title Slide in Jupyter Notebooks when using revealjs format #12561

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AlbertRapp opened this issue Apr 16, 2025 · 1 comment
Closed

Wrong Title Slide in Jupyter Notebooks when using revealjs format #12561

AlbertRapp opened this issue Apr 16, 2025 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@AlbertRapp
Copy link

Bug description

When using a Python code chunk inside revealjs slides that don't use the title YAML header, a wrong title slide is created using the first title after the first code chunk.

Steps to reproduce

Without a Python code chunk the order of the slides in this mini slide deck is as expected. ie. Slide 1, Slide2, Slide3

---
format: revealjs
---


# Slide 1

# Slide 2

# Slide 3

Once a Python Code chunk is inserted into Slide 1, there will appear a "Slide 2" centered title slide in front of Slide 1.

---
format: revealjs
---


# Slide 1

```{python}

```

# Slide 2

# Slide 3

Actual behavior

Slide order gets messed up

Expected behavior

Slide order should remain the same even with Python code chunk present

Your environment

Quarto Version: 1.7.24
Python Version: 3.10.12

Positron Version: 2025.03.0 build 116
Code - OSS Version: 1.96.0
Commit: 7f0f93873e8b24c9f393bb3586724f4783c5e72c
Date: 2025-03-01T18:48:08.166Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Linux x64 6.8.0-57-generic

Quarto check output

Quarto 1.7.24
[✓] Checking environment information...
      Quarto cache location: /home/albert/.cache/quarto
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.6.3: OK
      Dart Sass version 1.85.1: OK
      Deno version 1.46.3: OK
      Typst version 0.13.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.7.24
      Path: /opt/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: Installation From Path
      Path: /usr/bin
      Version: 2021

[✓] Checking Chrome Headless....................OK
      Using: Chrome found on system
      Path: /usr/bin/google-chrome
      Source: PATH

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.10.12
      Path: /bin/python3
      Jupyter: 5.5.0
      Kernels: python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
      Version: 4.4.3
      Path: /usr/lib/R
      LibPaths:
        - /home/albert/R/x86_64-pc-linux-gnu-library/4.4
        - /usr/local/lib/R/site-library
        - /usr/lib/R/site-library
        - /usr/lib/R/library
      knitr: 1.49
      rmarkdown: 2.29

[✓] Checking Knitr engine render......OK
@AlbertRapp AlbertRapp added the bug Something isn't working label Apr 16, 2025
@cscheid cscheid added the duplicate This issue or pull request already exists label Apr 16, 2025
@cscheid
Copy link
Collaborator

cscheid commented Apr 16, 2025

Duplicate of #12440

@cscheid cscheid marked this as a duplicate of #12440 Apr 16, 2025
@cscheid cscheid closed this as not planned Won't fix, can't repro, duplicate, stale Apr 16, 2025
@mcanouil mcanouil removed the bug Something isn't working label Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants