Enhanced the new method for adding items with custom styling and indentation.