Line a baking tray with a silicone sheet. Line another tray with baking parchment.
Place the sugar in a large frying pan over a medium heat. Melt the sugar and cook, without stirring, until it turns golden brown, then add the peanuts. Pour the mixture onto the silicone sheet. Leave to set.
For the whoopie pies, place the flour, cocoa, baking powder, bicarbonate of soda, salt, butter, sugar, eggs, vanilla extract, buttermilk and coffee in a free-standing food mixer and mix until well combined.
Place the mixture in a piping bag with a plain round nozzle and pipe 4cm/1½in circles, leaving a 3cm/1¼in gap between them on the baking parchment.
Bake the whoopie pies for 10 minutes until springy to the touch. Leave to cool on a wire rack.
For the filling, whisk the cream with the sugar in a large bowl and stir in the marshmallows.
For the peanut butter milkshake, place all the milkshake ingredients in a blender and blend until smooth.
To serve, take one of the whoopies and spoon on a tablespoon of the cream and sandwich with another whoopie. Smash the brittle and serve some on the side. Pour the milkshake in a shot glass and serve alongside.