Clean up mkd format.