Add all of the ingredients to the bowl of a food processor.
Process the ingredients until they are fully combined. You are looking to get a big crumb like texture. If the dough compacts itself into a sticky dough, you'll want to add a bit more flour. If it makes tiny crumbs that don't stick together easily, you'll need to add a tiny bit of water.
Pulse again, and adjust until you get the right consistency. You can now remove the dough from the food processor and start to knead it. Divide the dough into 2 smaller balls of dough to make it easier to work with.
Flatten one of the balls of pasta as best you can, and begin to run it through a pasta roller on its widest setting. To help get the dough more pliable, it's a good idea to fold it in half and run it through the machine at the widest setting a few times.
To make a thinner pasta, adjust the pasta machine down to a narrower setting. Don't skip numbers, but instead work your way down and run your pasta through the machine at each setting. This may sound tedious, but it only takes a couple of minutes to do!
Work your way down to one of the thinnest settings, until you reach your desired thickness for your ravioli. While I normally make my pasta at the thinnest setting for noodles, I left it at the second smallest setting for this dessert. I recommend experimenting with the thickness obtained from your machine. (It may be hard to work with and may not hold up as well to boiling on the thinnest setting, but you don't want it too thick either)
You are now ready to use your chocolate pasta for making chocolate ravioli or whatever other recipe you choose!
Notes
To make a darker, more decadent chocolate pasta, add more cocoa powder.The pasta can be slightly sweetened with the addition of powdered sugar. Adding honey may make the pasta stickier and harder to work with.Pasta dough can be stored, covered, in a ball shape in the fridge, until ready to use. (Up to 5 days.) Remove the dough from the fridge and allow it to come to room temperature before running the dough though the pasta machine.