Preheat the oven to 350 degrees F and line two large baking sheets with parchment paper. Create a template by tracing 2" circles, spaced about 1" apart, onto a separate piece of parchment paper.
In a medium bowl, combine the flour, black cocoa powder, baking powder, baking soda, and salt. Set aside.
In a glass measuring cup, combine the buttermilk, white vinegar, and food gel. Set aside.
In the bowl of a stand mixer fitted with the paddle attachment, cream together the butter and sugar for 2-3 minutes until light & fluffy.
Mix in the egg and vanilla. Scrape down the bowl to ensure everything is fully combined.
Add half of the dry ingredients and mix until just combined.
Mix in the buttermilk mixture, then the remaining dry ingredients until just combined.
Transfer the batter to piping bag with a medium piping tip (I used Ateco 806).
Place the template under the parchment paper on the baking sheet. Pipe the batter perpendicular to fill in each circle. Gently pat down the points with your finger, then remove the template and repeat until all of the batter has been piped.
Bake the whoopie pies for about 8 minutes. Allow to cool completely on the baking sheet.