Autoflow rule: divider
Priority 20 · A 1-2 word slide becomes a giant section break.
When it fires
Section titled “When it fires”- The slide has exactly 1 non-empty content line
- That line is plain text (no heading, no image, no list)
- That line is ≤2 words (configurable via
dividerMaxWords)
What it does
Section titled “What it does”- Wraps the line in
#[fit] - Adds
[.heading-align: center] - The whole slide becomes a giant section break
Anti-monotony
Section titled “Anti-monotony”When several dividers fire in a row, the alignment cycles
center → left → right → center → ... (via the rule’s vary function).
This is one form of cross-slide history — using the count of consecutive
prior dividers to break visual monotony.
Live fixture
Section titled “Live fixture”Source
Section titled “Source”footer: autoflow rules · dividerslidenumbers: trueautoflow: truetheme: nordicscheme: 1
# Cover
A regular cover slide so the divider isn't slide 0.
---
<!--RULE: divider (priority 20)TRIGGERS WHEN: - The slide has exactly 1 non-empty content line - That line is plain text (no heading, no image, no list) - That line is ≤2 words (config.dividerMaxWords)EFFECT: - Wraps the line in #[fit] - Adds [.heading-align: center] - The whole slide becomes a giant section break
Anti-monotony: when several dividers fire in a row, the alignmentcycles through center → left → right (see vary).-->
Speed
---
Craft
---
Both