Melt the butter in a medium nonstick skillet over medium heat. Put the bread in the pan, then top with the marinara, spreading to coat the slices. Top each slice the cheese and pepperoni, dividing evenly.
Cook until the cheese starts to melt and the bread is golden, about 2 minutes, then close the sandwich and cook until the cheese is completely melted, about 3 minutes more. Enjoy!