On MacOS or iPadOS keyboard, option - and option shift - give n and m dashes respectively.