Preheat your oven to 350 degrees Fahrenheit. Grease and flour two 9-inch round cake pans or one 9×13 baking dish to ensure the cake releases easily after baking. You can also line the bottoms with parchment paper for extra security.
In a large mixing bowl, whisk together the flour, sugar, cocoa powder, baking soda, baking powder, and salt. Ensure there are no large clumps of cocoa powder so the batter remains smooth.
Add the buttermilk, vegetable oil, eggs, alcohol-free vanilla extract, and peppermint extract to the dry ingredients. Mix on medium speed with a hand mixer or stand mixer until the ingredients are well combined and the batter is thick.
Reduce the mixer speed to low and carefully pour in the hot water. The batter will become very thin, but this is exactly what you want for a moist fudge cake. Stir in the chocolate chips by hand.
Pour the batter evenly into the prepared pans. Bake for 30 to 35 minutes, or until a toothpick inserted into the center comes out clean or with just a few moist crumbs. Avoid overbaking to keep that fudgy texture.
Allow the cakes to cool in the pans for 10 minutes before transferring them to a wire rack to cool completely. Once cool, frost with your favorite chocolate ganache or buttercream, and press the crushed candy canes onto the top and sides for a festive finish.