Skip to content

Rendering quarto presentation to pdf from html leaves (mostly) blank page when notes exist #61

Open
@tonyelhabr

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

![](https://allisonhorst.github.io/palmerpenguins/reference/figures/README-flipper-bill-1.png)

::: notes
-   secret note
:::

## slide 2

![](https://allisonhorst.github.io/palmerpenguins/reference/figures/README-flipper-bill-1.png)
renderthis::to_pdf("test.html")

I don't think I can insert the html into this PR, but here's the resulting pdf.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions