Open leslieam opened 8 years ago
modify OmniMarkupPreviewer Setting ,like this: { "browser_command": ["google-chrome","{url}"] }
@ravenfu This can not be solved
I got the some Pb. My system is Kali which based on Ubuntu & Debian. <"browser_command": ["open", "-a", "Google Chrome", "{url}"],> this's my config and I use Chrome.
I met the same problem and I can not find the solution in this issues. Fortunately, I find an alternative tool and it does work. I hope it will help you guys. https://github.com/revolunet/sublimetext-markdown-preview
Here I found a solution, use this setting
"browser_command": ["open", "-a", "Google Chrome", "--args", "{url}"],
It is because somehow Apple( maybe Google itself? whatever) changed the command of invoking Chrome to open a url. So i guess it's not really a OmniMarkupPreviewer issue.
The parameters above will be explained into:
open -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args {url}
You can try it out right away.
Sublime3 can not open the default browser to preview by using OmniMarkupPreviewer on Ubuntu 16.04