Mix the powdered sugar and cornstarch in a medium bowl. Lightly coat an 8x8-inch baking pan with cooking spray. Dust the pan generously with the sugar mixture, tapping out the excess. Set the remaining sugar mixture aside.
Pour 1/2 cup (120 ml) of water into the bowl of a stand mixer fitted with the whisk attachment. Sprinkle the gelatin over the water and let it sit for at least 10 minutes to soften. Add the salt to the bowl.
Combine the granulated sugar, corn syrup, and the remaining 1/2 cup (120 ml) of water in a medium saucepan. Stir gently to moisten the sugar.
Place the saucepan over medium-high heat and bring to a boil without stirring. Clip a candy thermometer to the side of the pan. Cook until the syrup reaches 242°F to 245°F (116°C to 118°C). Remove from heat immediately.
Turn the stand mixer on low speed. Carefully and slowly pour the hot sugar syrup down the side of the bowl into the softened gelatin.
Gradually increase the mixer speed to high. Whip for 8 to 10 minutes until the mixture turns bright white, becomes very thick, and triples in volume. Add the peppermint extract during the last minute of mixing.
Remove the bowl from the mixer. Add a few drops of red gel food coloring. Use a greased silicone spatula to fold the color in gently, creating red swirls.
Quickly scrape the marshmallow mixture into the prepared pan and spread it into an even layer. Dust the top with a generous layer of the reserved powdered sugar mixture. Let the marshmallows sit at room temperature for at least 6 hours to set.
Turn the set marshmallow slab out onto a cutting board dusted with the sugar mixture. Use a greased knife to cut the slab into 25 squares. Toss each square in the remaining sugar mixture to coat the sticky edges.