Put two slices of bread and the filling in the mold, heat it up and press the edges tightly to form a sealed triangular/square sandwich to prevent the filling from overflowing
Put two slices of bread and the filling in the mold, heat it up and press the edges tightly to form a sealed triangular/square sandwich to prevent the filling from overflowing