Earlier quoted context omitted.
Well, since my keyboard doesn't have an mdash key, if there's no support for something like — or --- then I can't use mdashes.
If you're on Linux (maybe macOS supports this too?) you can open the keyboard settings and turn one of several keys into the Compose/Multi key (I picked CapsLock because I rarely hit it on accident and don't use it). Then you can type all kinds of weird combinations: https://www.x.org/releases/X11R7.7/doc/libX11/i18n/compose/e... For example, em dash is Compose+minus+minus+minus, en dash is Compose+minus+minus+period…
Just press Ctrl-Alt-Shift-U, type (part of) the name of the character and select from the list of results.
— (em dash), ︱ (presentation form for vertical em dash), ⤐ (rightwards two-headed triple-dash arrow), ﷽ (arabic ligature bismillah ar-rahman ar-raheem) are all easy to enter.