excluding certain slides while rendering
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 178
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
I often make slide decks (I still use Xaringan, but this will also be true when I move to Quarto for making my slides) that include several slides I do not want to include in a pdf handout.
So, I'll make an extensive set of slides and render those to html for my actual live presentation. But, when I share a pdf handout of the presentation afterwards, I usually want to exclude several slides (e.g., slides with copyrighted material, slides with the password for the wifi at a conference, slides that contain video, etc.).
It would be great if I could add a class to a slide that renderthis uses to skip it when building the pdf. For example, something like this:
---
class: not_handout
blabla content blabla
---
and then use: renderthis::to_pdf("slides.Rmd", skip = "not_handout")
Of course, if there already is some way to hack this, that would be great too.
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 at the renderthis::to_pdf("slides.Rmd", skip = "not_handout") entry point and trace how slide classes are handled during PDF rendering. Confirm that slides marked not_handout are omitted from the PDF while remaining available in the HTML presentation, and check the existing rendering behavior before defining the completion criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100