final markdown formatting