Melt the butter in a saucepan over low heat. Chop the chocolate into the butter and stir until the chocolate has melted. Remove the pan from the heat.
Mix the baking powder into the flour. Pour the butter and chocolate mixture into a bowl and stir in the sugar, eggs and the flour mixture. Snip a few marshmallows into the batter and crush in some of the nuts as well.
Spread the batter into a baking pan (about 20 x 30 cm / 8 x 12 in) lined with parchment paper. Bake at 175 °C (350 °F) for about 20 minutes.
Meanwhile, cut the remaining marshmallows into small pieces. Take the pan out of the oven and scatter the marshmallows and the rest of the nuts on top.
Bake for about 3–5 more minutes, until the marshmallows soften and get a little color.
Remove from the oven and let cool completely.
Cut into small bars and serve.
Notes
Mix the baking powder into the flour first so it spreads evenly through the batter.
Don’t overbake the base. The center can still be slightly soft when you add the marshmallows.
Keep an eye on the second bake: marshmallows brown quickly.
Let the slab cool completely and cut it with a knife dipped in hot water and wiped dry.
Mini marshmallows save you the chopping.
For a gluten-free version, use a gluten-free flour blend instead of wheat flour.