pub fn write_markdown(path: &Path, content: &str) -> Result<()>
Write a Markdown file, creating parent directories if needed.