Ⅰ. 插件描述
A simple syntax plugin for editing Jekyll enhanced markdownⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'pprovost/vim-markdown-jekyll'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'pprovost/vim-markdown-jekyll'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'pprovost/vim-markdown-jekyll'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/pprovost/vim-markdown-jekyll
Ⅳ. 文档说明
# vim-markdown-jekyll
About
This is a very simple little syntax tweak to the built-in markdown syntax
adding support for the YAML front matter (as comments) and Liquid style tags
and filters. Nothing fancy but it works.
Installing
Use Pathogen and put this folder in your bundles directory. If you don't want
to do that, put the markdown.vim file in your ~/.vim/after/syntax directory.
Credits
YAML front matter syntax match pattern: