Boil potatoes, mix with sautéed onion and Swiss chard, then combine with flour and egg to form and boil gnocchi.