The opened URI here needs to be encoded using `encodeURI` in case the path has reserved URI characters in it.

Also please use interpolation here so `"markdown-preview://#{path}`