reindent to be valid markdown