pub fn heading_text(level: u8, text: &str) -> Block
Create a heading block from text.
Out-of-range levels are clamped to 1..=6 for convenience in tests.