To type an em dash (—) on a Mac computer, hold down option + shift and press the hyphen key (to the right of the 0).