DRY Slides with ---
Never repeat yourself, let Quarto do it
Quarto Extension
When a topic spans multiple slides, you end up writing the same heading over and over:
This violates the DRY principle and makes refactoring painful.
cascade extensionA filter that repeats the heading chain automatically when you use --- to create a new slide.
revealjs output.cascade extensionThis very slide was created with ---.
No heading was written in the source; it was repeated from the previous slide.
Content under a nested heading structure.
Both ## Nested headings work too and ### Still diving on the slide. Only parent headings above this ### level are repeated from the previous slide.
Fewer lines, single source of truth for headings, and zero risk of typos.