mdforvim


Ⅰ. 插件描述

Vim plugin for Markdown : convert to HTML & realtime preview

Ⅱ. 基本信息

创建日期:  2015-02-28
使用用户:  8
Github星:  12
插件作者:  Kuro_CODE25

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'kurocode25/mdforvim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'kurocode25/mdforvim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'kurocode25/mdforvim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/kurocode25/mdforvim

Ⅳ. 文档说明

mdforvim

Overview

"mdforvim" is vim plugin for dealing Markdown langage more easily, which is independent of ex-parser.It has follow functions;

  1. converting instantly Markdown lang. to HTML in current buffer
  2. saving as HTML file without change original Markdown file
  3. showing live preview by WEB browser during edit Markdown file

Demo

Showing Live Preview

demo01

Conversion Markdown in current buffer

demo02

Usage

Instant conversion in current buffer

Please input follow command to convert from Markdown to HTML in current buffer.

:MdConvert

Saving as HTML file

Please input follow command to save as HTML file.

:MdSaveAs <file name.html>

Showing Live Preview

Please input follow command to start preview.

:MdPreview

If you finish preview, we recommend run follow command before close WEB brwoser.

:MdStopPreview

Install

Vundle

If you use vundle, please add Plugin 'kurocode25/mdforvim' your ~/.vimrc(or _vimrc) and install by Vundle

:PluginInstall

NeoBundle

If you use NeoBundle, please add NeoBundle 'kurocode25/mdforvim' your ~/.vimrc(or _vimrc) and install by NeoBundle

:NeoBundleInstall

Licence

MIT © Kuro_CODE25

Author

Kuro_CODE25

添加新评论