Skip to main content

extract_title

Function extract_title 

Source
pub fn extract_title(content: &str, filename: &str) -> String
Expand description

Extract a title from plan content.

Tries the first markdown heading, falls back to humanized filename.