To make these Chocolate Peppermint Cupcakes gluten free, replace the all-purpose flour with a certified gluten-free 1:1 baking flour blend. Also confirm that the cocoa powder, baking powder, baking soda, peppermint extract, chocolate chips, confectioners’ sugar, and candy canes are certified gluten free or free from hidden gluten-containing additives if needed for strict dietary requirements. If your gluten-free flour blend does not already contain xanthan gum, add it according to the package directions for the best cupcake texture.