I'd just use the markdown preview when it is available and open the file when it isn't.

You can use `atom.package.isPackageActive('markdown-preview')` before opening the URI to know whether it is available to handle it.