MD formatting fixes for Document Types