Rendering quarto presentation to pdf from html leaves (mostly) blank page when `notes` exist
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 178
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I think this may be completely intentional, but I noticed that when there is a speaker note on a slide, the slide gets split into 2 pages when saved to pdf with renderthis::to_pdf().
For example, slide 1 below gets split into pages 2 and 3 in the pdf (after the title slide on page 1), while slide 2 is, as expected, only on page 4.
---
title: "test"
format: revealjs
---
## slide 1

::: notes
- secret note
:::
## slide 2

renderthis::to_pdf("test.html")
I don't think I can insert the html into this PR, but here's the resulting pdf.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Quarto revealjs example in the issue and run renderthis::to_pdf("test.html") to compare slides with and without a notes block. Done means a slide containing notes no longer produces an extra mostly blank PDF page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, r
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100