Pretty format some codes