Makes one jar for the refrigerator, about 1½ cups; adapted from David Lebovitz
In a small saucepan, heat the vinegar, sugar, salt, and optional spices until boiling. Add the onion slices, lower heat, and simmer for 30 seconds. Remove from heat and cool completely. Transfer onions and liquid to a glass jar with lid and refrigerate.