Ah, I guess that's what happens when you do both Markdown and LaTeX in the same document! Thanks for pointing it out, I've also been pretty sloppy with hyphen and em-dash in normal writing. Maybe someone could write a similar post for online HTML content in the future?