show-notes make the speaker notes appear in the revealsjs presentation and not only in the speaker/print view

Open
#10,807 6 comments 0 reactions 1 assignee View on GitHub

@cderv is already working on this.

Since Sep 16, 2024.

Assessment

This issue has not been assessed yet.

Description

enhancement revealjs upstream
Bug description

When using e.g speaker-notes: true or speaker-notes: separate-page in the yml header of a revealjs presentation, I expected the speaker notes to appear only when toggling on the print view. However, they seem to be displayed in the presentation itself, even "outside" of the speaker view. I am not sure whether this is a bug or intended? And if this is intended, is there a way to show the speaker notes only in the speaker view and print view but not in the presentation itself ?

Steps to reproduce
---
title: "Presentation"
format:
  revealjs:
    show-notes: separate-page
---

## A slide

::: notes

A note

:::

Expected behavior

image

Actual behavior

image

Your environment

No response

Quarto check output
Quarto 1.5.55
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.2.1: OK
      Dart Sass version 1.58.3: 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.55
      Path: /home/tvatter/miniforge3/envs/intro_to_python/bin

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

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

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

[✓] Checking Python 3 installation....OK
      Version: 3.11.9 (Conda)
      Path: /home/tvatter/miniforge3/envs/intro_to_python/bin/python
      Jupyter: 5.7.2
      Kernels: python3

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

[✓] Checking R installation...........OK
      Version: 4.4.1
      Path: /home/tvatter/miniforge3/envs/intro_to_python/lib/R
      LibPaths:
        - /home/tvatter/miniforge3/envs/intro_to_python/lib/R/library
      knitr: (None)
      rmarkdown: (None)

      The knitr package is not available in this R installation.
      Install with install.packages("knitr")
      The rmarkdown package is not available in this R installation.
      Install with install.packages("rmarkdown")
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from quarto-dev/quarto-cli

All issues in quarto-dev/quarto-cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.