01 - In a large bowl, beat butter and sugar with an electric mixer until the mixture is light and fluffy.
02 - Add the egg, vanilla extract, and peppermint extract to the creamed mixture and blend until thoroughly combined.
03 - In a separate bowl, whisk together the flour, baking powder, and salt to ensure even distribution.
04 - Gradually add the dry ingredients into the wet mixture, stirring until a soft dough forms without overmixing.
05 - Divide the dough evenly; tint one half with red food coloring gel, kneading gently until the color is uniformly incorporated. Leave the other half plain.
06 - Cover both dough portions tightly and refrigerate for at least 1 hour to firm up.
07 - Set the oven to 350°F (175°C). Line baking sheets with parchment paper to prevent sticking.
08 - Pinch off a heaping teaspoon from each dough color, roll each into a 4-inch rope, twist the two ropes together, and form into canes or swirls.
09 - Place shaped cookies 2 inches apart on the prepared baking sheets. Optionally, sprinkle with crushed peppermint candies.
10 - Bake for 9 to 11 minutes, or until cookies are just set and edges show a faint golden color.
11 - Allow cookies to cool on the baking sheet for 2 minutes before transferring to a wire rack to cool completely.