If using cocoa powder, whisk it with a small amount of the milk in a small saucepan until a smooth paste forms.
Add the remaining milk and eggnog. Heat over medium-low heat, stirring occasionally, until the mixture is steaming. Do not let it boil.
Add the chocolate chips and whisk until completely melted and the hot chocolate is smooth.
Taste and add brown sugar if needed. Continue heating gently until hot, then remove the saucepan from the heat and stir in the vanilla extract.
Pour into a heatproof mug and finish with whipped cream, a drizzle of eggnog, cinnamon or nutmeg, and a candy cane, if desired. Serve immediately.