RevealJS Cascade

Write each heading once, on every slide it belongs to.

What the cascade extension is for, how to enable it, and how a heading chain is repeated across continuation slides.

A section of a talk rarely fits on one slide, and the moment it spills over, the headings have to be typed again on the next one. Rename the section later and every copy has to be found.

cascade repeats them instead. Write --- to start a new slide and the heading chain from the slide before it is carried across, so the source holds each heading once.

Installation

quarto add mcanouil/quarto-revealjs-cascade@2.1.1

This will install the extension under the _extensions subdirectory. If you are using version control, you will want to check in this directory.

Or install it from your editor with Quarto Wizard:

Quick start

filters:
  - cascade

Then write --- where a section spills onto another slide:

## Results

### Experiment A

Observations for experiment A.

---

More observations, with both headings repeated for you.

---

### Experiment B

A new chain under the same section, so only the parent is repeated.

Seeing it work

The site you are reading is HTML, and this filter only splits slides. The RevealJS preview is a deck built by the same site, where every behaviour below can be stepped through.

See the Reference for every option, and the Examples for the source behind each slide.

Where it works

RevealJS.

In every other format a --- is removed, since there are no slides to split. Set keep-hrule: true to leave the horizontal rules in place instead.

Back to top