first pass at markdown, all the way to the end