Knudsen, Finn F. “The Projectivity of the Moduli Space of Stable Curves, II: The Stacks $M_{g,n}$”. Mathematica Scandinavica, vol. 52, Dec. 1983, pp. 161-99, https://doi.org/10.7146/math.scand.a-12001.