[−][src]Function rustdoc::markdown::extract_leading_metadata

pub(in markdown) fn extract_leading_metadata(
    s: &str
) -> (Vec<&str>, &str)

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