Macos, ios, google docs, and microsoft word will autocorrect two hyphens to an em dash, which is how I normally type it. On a mac you can also type an em dash with option-shift-hyphen.
Many word processors (Microsoft Word, LibreOffice Writer, etc.) and some online editors will auto convert double hyphens "--" as they are typed into an em dash.
Some text editors replace the -- (two separate dashes) with a proper em-dash. Literate people - who understand why em dash exists - have been using it all the time. Thats, after all, how the models learned to use it.