Template:Em/doc

Result:

It works similarly to the HTML markup sequence: &mdash;, that is, an em dash &mdash;. No trailing or leading whitespace.