markdown-preview.nvim
markdown-preview.nvim copied to clipboard
Hello, MarkdownPreview does not work on my mac for macvim.
It just does not respond at all without any info. Can you help me out? Or is there some specific configuration that I need to put in my .vimrc? Thanks.
use safari fixed the problem. Thank you.
Hi @mt1ger how did you config to use with safari? I type :MarkdownPreview
but nothing happened.
Thanks.
Put this "let g:mkdp_browser = 'safari'" into your .vimrc. And job is done. Chrome does not work for my macvim. However it works for neovim. Interesting.
let g:mkdp_browser = 'Google Chrome'
works well.
I'm having the same problem with neovim (terminal). By default, :MarkdownPreview
does nothing, but setting g:mkdp_browser = 'safari'
fixes it. (Other values like 'firefox' don't work for me.)
make sure you have yarn installed
I try safari and chrome, also can not. How to make it work?
Having the same problem. let g:mkdp_browser = 'safari'
doesn't make it work.
Tried both let g:mkdp_browser = 'safari'
& let g:mkdp_browser = 'Google Chrome'
. Neither works
I also get stuck in this problem.
Linux
I use the same .vimrc
between diff platforms like mac and arch. MarkdownPreview
works pretty good on arch and the only browser is firefox.
Mac
It did not work on mac, default browser is chrome so it previews via chrome but failed and the message like 127.0.0.1 拒绝了我们的连接请求。
.
So i try to specify the browser, definately absolute path, like let g:mkdp_browser = '/System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari. app/Contents/MacOS/Safari'
, and execute source ~/.vimrc
. That not works, it still preview on chrome, and chrome still show the same msg as mentioned above.
I have no idea, appreciate for help.