pub fn clean_markdown(markdown: &str) -> String
Clean up Markdown output
Removes excessive whitespace and normalizes the output.