Preheat your oven to 350°F (175°C) and grease a 9x9-inch baking dish.
In a large bowl, whisk together the flour, cocoa powder, sugar, and baking powder until well combined.
Melt the butter in a saucepan over medium heat; let it cool slightly before adding it to the egg mixture.
In another bowl, beat eggs with peppermint extract until frothy, then stir in melted butter.
Combine wet and dry ingredients gently until just mixed; fold in chocolate chips.
Spread the mixture evenly into the prepared baking dish and bake for 20-25 minutes until set but still soft in the center.
Cool before slicing into squares, then top with crushed candy canes while warm.