In 2008-ish I was into web typography for if you may say so. We used to use special tools like https://www.artlebedev.ru/typograf/ to make text appear clear according to typography ideas. That included m-dashes. Amazing to see this subject surfacing again.