Ⅰ. 插件描述
Preview Markdown files in Markoff.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'aliou/markoff-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'aliou/markoff-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'aliou/markoff-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/aliou/markoff.vim
Ⅳ. 文档说明
# Markoff.vim
Preview documents in Markoff from Vim.
Usage
Either call :Markoff to open the current file, or pass an argument to open another file.
Options
You can set the path to the Markoff application:
let g:markoff_application_path = "/Users/usename/Applications/Markoff.app"Installation
Using Vim 8's packages:
git clone https://github.com/aliou/markoff.vim.git ~/.vim/pack/aliou/start/markoff.vim
# OR
git clone https://github.com/aliou/markoff.vim.git ~/.vim/pack/aliou/opt/markoff.vimUsing Pathogen:
git clone https://github.com/aliou/markoff.vim.git ~/.vim/bundle/markoff.vimUsing vim-plug:
Plug 'aliou/markoff.vim'Using NeoBundle:
NeoBundle 'aliou/markoff.vim'Using Vundle:
Plugin 'aliou/markoff.vim'License
Copyright (c) Aliou Diallo. Distributed under the same terms as Vim itself. See :help license.