Cascade in RevealJS

The heading chain, repeated for you

Results

Experiment A

Each --- below starts a new slide, and the extension repeats the heading chain on it.

Results

Experiment A

This slide was written with no headings at all. Both ## Results and ### Experiment A above were repeated onto it.

Results

Experiment B

A heading at this level starts a new chain under ## Results, so only the parent is repeated.

Results

Experiment B

Again written with no headings, and carrying the chain from Experiment B.

Limiting the depth

A subsection

cascade-depth="1" on the slide-level heading limits the chain to that heading alone.

Limiting the depth

Only ## Limiting the depth was repeated here; the subsection was dropped.

Opting a heading out

An aside

The subsection carries .no-cascade, so it is never carried forward.

Opting a heading out

Only ## Opting a heading out was repeated onto this slide.

A slide-level heading that opts out

A subsection

The slide heading above carries .no-cascade, so the chain keeps no heading at slide level.

A subsection

Nothing starts a new slide here, so this text stays on the slide above, under a second copy of ### A subsection.

Inside a div

Note

A --- inside a div splits the slide there too.

Inside a div

Note

The div is closed, the chain repeated, and an identical div reopened around this.

A callout with a title

Remember this

A title written as a heading is repeated inside every reopened div.

A callout with a title

Remember this

The title above came with this copy of the callout.