pub fn is_setext_heading(lines: &[&str], index: usize) -> bool
Checks if a line is a setext heading by examining its next line