format into proper markdown