Apply some markdown formatting