Ubuntu Vim Markdown Live Preview

Source: Internet
Author: User
Tags git clone

Vim-instant-maRkdown Plug-in

This plugin supports vim when editing markdown files in real-time preview, do not need to do anything manually!

Using VIM to open a xxx.md file, the browser will automatically open a preview page, in the process of editing this file, the browser will automatically update, and do not save the document.

Install VIM-INSTANT-MARKDOWN1. JS Installation

CURL-SL https://deb.nodesource.com/setup_5.x | SUDO-E Bash-
sudo apt-get install-y Nodejs

Reference: Installing Nodejs

2. Update NPM

sudo npm install npm -g

Reference: Installing node. js and updating NPM

3. Installing Vim-instant-markdown with NPM

[sudo] npm-g install instant-markdown-d

Reference: Vim-instant-markdown GitHub

4. Clone the source code

git clone https://github.com/suan/vim-instant-markdown.git

5.copy file

Copy the source code after/ftplugin/markdown/instant-markdown.vim文件到 ~/.vim/after/ftplugin/markdown/ under this directory.

6.try and enjoy

Ubuntu Vim Markdown Live Preview

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.