Basic round-tripping for Markdown files.