vim-markdown-preview


Ⅰ. 插件描述

preview markdown documents in the browser from vim

Ⅱ. 基本信息

创建日期:  2010-04-20
使用用户:  10
Github星:  4
插件作者:  Henrik Nyh

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'henrik/vim-markdown-preview-back-to-december'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'henrik/vim-markdown-preview-back-to-december'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'henrik/vim-markdown-preview-back-to-december'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/henrik/vim-markdown-preview

Ⅳ. 文档说明

## vim-markdown-preview
vim-markdown-preview is a (customizable) plugin for the vim editor to preview markdown documents.

Documentation

See doc/vmp.txt
If you install vim-markdown-preview, please run :helptags $HOME/.vim/doc to be able to view
the documentation from within vim.

Install

Download

  • Option 1
    Clone the repository! The master branch is where stable, or soon-to-be-released code lives.
  • Option 2
    You can download versioned releases from the

downloads page.

Automatic installation
vim-markdown-preview is bundled with an installer script which will install to $HOME/.vim/plugin/

sh install.sh

Usage

Send vim the command :Mm for a preview of your markdown document.
Alternatively, bind :Mm to a key binding:
map <leader>p :Mm<CR>

Dependencies

  • vim
  • Ruby support for vim.
  • kramdown (bundled with this package)

Notes

If you're previewing documents in the links browser, remember to use ctrl+r after previewing a document
for the 2nd, 3rd, ..., etc time or you'll be left with the cached version.

Screenshots

links browser
.. more to come!

Bugs

Bugs are tracked through
The GitHub Issue Tracker.

添加新评论