title: VSCode: Replacing multiple hyphens with en- and em dashes
body: <p>This question applies to Markdown (yes, I'm still peeved .md format doesn't interpret <code>--</code> and <code>---</code> as en and em dashes), but it could be handy for other text formats.</p>
  
  <p>Is anyone aware of an extension or can suggest a method for replacing the typed sequences of <code>--</code> and <code>---</code> with <code>–</code> and <code>—</code>, respectively?</p>
  
  <p>There are other markdown editors that do it, but since I'm using vscode for nearly everything else now, I'd rather do it there.</p>