Mash the banana thoroughly.
Add the egg and unsweetened cocoa powder and mix well.
Add almond flour, baking powder, and milk to make the batter.
Pour the batter into a microwave-safe mug and smooth out the surface.
Microwave for 2 minutes.
Let it cool, then sprinkle with chopped dark chocolate if desired.