Simple links.
Extract writeMarkdownFragment.