pub fn replace_markdown_chars_opt(input: &str) -> Option<String>
Replace the markdown chars cleanly. Optimized to scan bytes and process in bulk segments. Returns None if no changes needed (avoids allocation).