Chapter N — Topic
Template slide deck (Python ↔︎ R)
Section heading
A section divider slide. (Quarto’s revealjs writer treats every # heading as a section automatically, so no {.section} class is needed.) Replace with the section title for the chapter this deck covers.
A regular slide
Regular content slides start at H2.
- Bullet
- Bullet
- Bullet
Python ↔︎ R code, side-by-side
# Replace this with the example for the chapter the deck covers.
import numpy as np
x = np.arange(1, 6)
x.mean()# Replace this with the R equivalent.
x <- 1:5
mean(x)A second tabset slide
# Example 2# Example 2How to add a new chapter deck
- Copy
template.qmdtoslides/ChNN-<topic>.qmd. - Update the YAML
title,subtitle, andrevealjs.output-file: ChNN-<topic>-slides.html. - Replace the template slides with chapter content (subject to the IP discussion in
slides/index.qmd). - Add the deck to the navbar in the project root
_quarto.yml.