I have a user-generated paragraph that consists of a list of words separated by commas, such as "dog, cat, hamster, turtle." I want to be able to individually assign attributes to each word in the list.
Check out this image for reference
In the example image provided, instead of having a shared border and color for all words in the list, I would like to give each word its own distinct border and spacing between them. Is this something that can be achieved?