Rearranges source and markdown.