You first need to have node.js with npm installed.
[sudo] npm -g install instant-markdown-d
- If you're on Linux, the
xdg-utils
package needs to be installed (is installed by default on Ubuntu).- Copy the
after/ftplugin/markdown/instant-markdown.vim
file from this repo into your~/.vim/after/ftplugin/markdown/
(creating directories as necessary), or follow your vim package manager's instructions.- Ensure you have the line
filetype plugin
on in your.vimrc
- Open a markdown file in vim and enjoy!
npm -g install instant-markdown-d
하여 설치
C:\Users\내아이디\AppData\Roaming\npm
아래에 설치된다.
after/ftplugin/markdown/instant-markdown.vim
파일을 자신의 vimfiles 폴더의 after/ftplugin/markdown/instant-markdown.vim
으로 저장한다.
node.exe %APPDATA%\npm\node_modules\instant-markdown-d\instant-markdown-d
instant-markdown-d
%APPDATA%\npm\
폴더에 만들어져 있다. 그런데 막상 이걸 열어보면 sh.exe 를 띄우도록 되어 있어서 동작하지 않는다. node.exe를 실행하도록 수정
[%APPDATA%\npm\instant-markdown-d.cmd 파일]
 # vim의 CWD/images/myimage.jpg 를 먼저 찾음4) 데몬에서 로그 출력 레벨을 지정하는 구문이 경고가 뜨길래 찾아보니 최신 버전은 로그 레벨 지정을 다른 방식으로 하여야 하는가 봄. 주석 처리함. ([커밋])