Ⅰ. 插件描述
Augment your existing markdown.vim with support for MultiMarkdown, CriticMarkup, etc.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'mattly/vim-markdown-enhancements'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'mattly/vim-markdown-enhancements'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'mattly/vim-markdown-enhancements'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/mattly/vim-markdown-enhancements
Ⅳ. 文档说明
# Vim Markdown Extras
by Matthew Lyon <matthew@lyonheart.us>
Support for various markdown extras that enhance your existing markdown syntax.
Enhance, not replace
While looking for vim syntax support for things like MultiMarkdown
or CriticMarkup, instead of enhancements that augmented an
existing markdown syntax file, I instead found ones that either replaced
the existing syntax file or required the use of custom extensions and used
non-standard file types.
If you work with more than one of these extensions or other tools that
require an extension such as .md or .markdown, those solutions are
unworkable.
Thankfully, vim allows for syntax augmentation through /syntax/after.
This plugin is a collection of syntax declarations that work with your
existing markdown syntax to provide highlight groups for non-standard
markdown enhancements.
Currently Supported
MultiMarkdown:
Syntax Highlighting
- Tables
- Footnote Delimiters
CriticMarkup, Extensions for Collaboration:
Syntax Highlighting
- Additions
- Deletions
- Substitutions
- Highlights
- Comments
Coming Soon
- MultiMarkdown definition lists, etc
- Snippets for working with tables, critic Markup
- functions for workflow with critic markup