Skip to content

2.10. Vim Instant Markdown

shinokada edited this page Feb 2, 2014 · 1 revision

vim-instant-markdown

Installation

You need to follow the github repo installation.

gem install pygements.rb
gem install redcarpet
npm -g install instant-markdown-d

Download the repo and move to after/ftplugin/markdown/instant-markdown.vim to ~/.vim/after/ftplugin/markdown/. Since I am using vim-pathogen I move to ~/.vim/bundle/after/ftplugin/markdown/.

Then open .vimrc and add the followings.

filetype plugin on
# you need this for zsh   
set shell=bash\ -i

Then you need to open md file with vim and it will open a browser http://localhost:8090/.

More info read the doc

Clone this wiki locally