01 - In a medium saucepan, whisk together sugar, cocoa powder, cornstarch, and salt.
02 - Slowly whisk in the whole milk and heavy cream until mixture is smooth.
03 - Place saucepan over medium heat and stir constantly until thickened and bubbling, about 7 to 10 minutes.
04 - Remove from heat and whisk in chopped semisweet chocolate until fully melted and smooth.
05 - Stir in vanilla extract evenly throughout the pudding.
06 - Divide pudding evenly into four serving cups.
07 - Press plastic wrap directly onto pudding surface in each cup to avoid a skin forming.
08 - Refrigerate for at least 1 hour or until fully chilled and set.
09 - Optionally top each pudding cup with whipped cream and chocolate shavings before serving.