Pansotti, triangular filled pasta from Liguria, make a crowd-pleasing dish. Here they are filled with Swiss chard and ricotta and served with a nutty walnut sauce as an impressive vegetarian main for four, making about 24. A dough of ’00’ flour and lukewarm water is kneaded and chilled. Chard leaves are cooked gently with garlic until softened, squeezed dry and mixed with ricotta, grated cheese, thyme and egg. The dough is rolled wafer-thin, cut into squares, filled, folded into triangles and sealed. For the sauce, bread soaked in milk is blended with walnuts, garlic, thyme, pine nuts and cheese. Find more ideas in Italian pasta recipes and vegetarian pasta recipes.

Why it works

Squeezing the cooked chard firmly, even between your hands, removes as much liquid as possible so the filling stays firm and the pasta does not turn soggy. Ricotta and cheese bind the filling, and the egg helps it set as the pasta cooks. Brushing each square with beaten egg helps the edges seal, and pressing out any air stops them bursting in the water. Bread soaked in milk thickens the walnut sauce and makes it creamy.

Make it easy

The pansotti can be made a few hours ahead and kept on a floured tray in the fridge, or frozen in a single layer. Keep the pasta covered with a clean tea towel as you work so it does not dry out. Loosen the sauce with a little of the hot pasta cooking water when you add the pansotti. For more ideas, see vegetarian main courses.

Swaps

Use rainbow chard or spinach in place of Swiss chard, and keep the chard stalks for another recipe. Use a vegetarian Italian-style hard cheese in place of parmesan if cooking for vegetarians.