Renders root (and its nested children) into a Markdown document.
Markdown text ending with a single trailing newline.