extract_leading_metadata

Function extract_leading_metadata 

Source
fn extract_leading_metadata(s: &str) -> (Vec<&str>, &str)
Expand description

Separate any lines at the start of the file that begin with # or %.