Skip to content

Commit ed89739

Browse files
vanceingallsclaude
andcommitted
feat(registry): make caption-editorial-emphasis data-driven with emphasis heuristic
Replaces the hand-authored BLOCKS literal with hfMakeBlocks, a heuristic that groups words into blocks/lines from timing (pauses, punctuation, max words per block) and hfIsEmphasisWord (long, non-stopword content words) to decide which word gets the large Playfair Display emphasis treatment and its own slide-in line. computeLineSize/buildBlocks/fitBlocks and timeline construction now live inside hfBuild, closing over layout-scaled font sizes and widths. Adds the shared Blocks A-E caption-data runtime (attach/gate/brand config) and the .word/.word--emphasis CSS brand hook for --hf-caption-primary. This is the last of the five caption identities to go data-driven. Co-Authored-By: Claude Sonnet 5 <[email protected]>
1 parent 7d4e71d commit ed89739

1 file changed

Lines changed: 512 additions & 235 deletions

File tree

0 commit comments

Comments
 (0)