Prepend newline to content when converting to markdown

Should fix #1236.