Skip to main content

extract_title_from_blocks

Function extract_title_from_blocks 

Source
fn extract_title_from_blocks(blocks: &[GutenbergBlock]) -> Option<String>
Expand description

Extract title from Gutenberg blocks (looks for hero-section or first heading)