In a saucepan, combine milk, sugar, and cocoa powder. Heat until small bubbles have formed and all the sugar has dissolved.
Stir in espresso, peppermint bark syrup, and vanilla. Remove from heat.
Serve in a large mug and top with whipped cream and peppermint sprinkles, if desired.