Closed seebi closed 3 years ago
Same for me under Ubuntu 14.04.
node module is installed globally and works fine with curl
from terminal (I use nvm)
gems installed without sudo (I use rvm)
Not sure what's the problem but it might be connected.
+1.
OS: Ubuntu 14.04.1 LTS
Browsers: Firefox, Chrome
+1 for Ubuntu 14.04.1 LTS, Chrome
I fixed this issue on my Ubuntu 14.04.1 LTS with Chome browser:
Instaling libraries:
$ sudo apt-get install ruby1.9.3 xdg-utils python-software-properties
Instaling latest nodejs
and npm
from Chris ppa:
$ sudo apt-add-repository ppa:chris-lea/node.js && sudo apt-get update &&
sudo apt-get install nodejs
Third step is instaling obligatory gems
, instant-markdown-d
and also update permissions to .npm
catalog:
$ sudo gem install redcarpet pygments.rb &&
sudo npm -g install instant-markdown-d &&
sudo chown -R `whoami` ~/.npm
Use Pathogen to take care of this repo:
$ cd ~/.vim/bundle/ && git clone git@github.com:suan/vim-instant-markdown.git
Finally add necessary settings to your .vimrc
:
filetype plugin indent on
Or if you also use vim-markdown plugin then do not forget to add:
" Force setting for *.md files. More info: https://github.com/tpope/vim-markdown
autocmd BufNewFile,BufReadPost *.md set filetype=markdown
If still have blank page, check three times that you have installed all obligatory softwar - that was my mistake.
Hope this helps :smiley:
Look at this issue https://github.com/suan/vim-instant-markdown/issues/60 that I've started. It could be the main (or partly) cause of this problem.
I've tried using the plugin on a Ubuntu 14.04 VM (full-fledged one, with Unity and all) and it seems to work fine. My steps were roughly:
sudo apt-get install node npm curl
sudo npm -g install instant-markdown-d
sudo gem install pygments.rb red carpet
xdg-utils
cause it was already installed)filetype plugin on
to my ~/.vimrc
README.md
file and started typing - plugin was working as expected.Unfortunately right now there are a lot of steps for installation but just make sure you've done each of them.
@suan perfect fix on the previously failed Ubuntu 14.04
Yes they may be a lot of steps, but they didn't more than 5 minutes to run them.
Thank you very much!!
For Ubuntu 14.10 this solved the issue for me as well. Small modification though, the third step should probably be:
without the space beteen red carpet.
Doesn't work for me either, tried all the above tricks.
OS: MAC OSX Yosemite (10.10.2) Browser: Firefox
@egel 's steps seem to have solved it for Ubuntu users, but not for Mac users. I'm also having this problem. Always nothing but a white page showing up in the browser.
@suan Thank you !! It works on ubuntu 14.04 LTS chrome
shime/livedown worked for me on OSX without any configuration or difficulties.
I have the issue browsing with Chrome, but Firefox works fine. MacOS El Captain.
@basvandenberg's comment:
sudo gem install pygments.rb redcarpet
without the space beteen red carpet. Works for Arch linux.
Also just in case it needs Javascript ON in the $BROWSER.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
after loading a markdown file, a new browser tab opens but only a white page is seen (with the following source):