Here's what you need:
3/4 cup white vinegar
3 Tbsp white sugar
Pinch of salt
1 Bay leaf
5 allspice berries
5 whole peppercorns
1 large onion
Here's what you do:
Peel you onion and cut in half. Cut into half-moons and put into a canning jar.
In a small saucepan, heat the remaining ingredients and bring to a boil.
Once the mixture comes to a boil, pour into the jar with the onions. You might want to use a funnel.
Pop on the lid and put in the refrigerator to cool.
Enjoy!