Function minimad::header_level[][src]

pub fn header_level(src: &str) -> usize

count the number of '#' at start. Return 0 if they're not followed by a ' ' or if they're too many