If you are given the choice on an exam, use whom. It's the object of the preposition. She's the girl whom you married is probably how it would appear on a test.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.