I've read in a number of places (eg here) that if a matrix $M$ is Markov (aka stochastic), then $|\det(M)|\leq 1$, with equality $|\det(M)|=1\iff$ $M$ is a permutation matrix. It is fairly easy to show the first part of this result, based on the eigenvalues of $M$ being of magnitude 1 or less, but I'm struggling with the second part.
If anyone could provide a proof (or reference) of this result, I would be much obliged.