pub fn write_markdown(output_dir: &Path, content: &str) -> Result<()>
Write markdown content to a file in the specified directory.