vim-markdown


Ⅰ. 插件描述

Markdown syntax highlight for Vim editor with snippets support

Ⅱ. 基本信息

创建日期:  2009-05-12
使用用户:  4
Github星:  6
插件作者:  ujihisa

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'ujihisa/vim-markdown-better-than-revenge'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'ujihisa/vim-markdown-better-than-revenge'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'ujihisa/vim-markdown-better-than-revenge'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

#Markdown Vim Mode#
This is a Vim syntax file for the Markdown text-to-HTML conversion tool.

If you would like to submit patches to vim-markdown, development is hosted on Github.

Updated 12/26/2009: Fixed bugs

Updated 5/18/2009: Numerous link and emphasis fixes.

Updated 4/29/2008: Now at version 8, which really fixes matching bold and underline characters inside of words.

Updated 3/1/2008: Now at version 7, which fixes several bugs, most thanks to David Wolever:

  • Don't match bold and underline characters inside of words.
  • Don't match code blocks that aren't preceded by a blank line.
  • Fix double back-tick code blocks without a back-tick inside of them.
  • Fix # headings being matched anywhere in the line.
  • Match pre and code tags.

Updated 9/1/2006: Now at version 6, which enables spellchecking in Vim 7 and adds highlighting for reference-style links thanks to Will Norris.

Updated 12/1/2005: Now at version 5, which fixes numbered headings being highlighted as list items and horizontal rules being highlighted as headings. Thanks to Stephen Haberman.

Updated 8/24/2005: Now at version 4, which fixes stuff in parentheses being highlighted when not part of a link structure. Thanks to Richard Newman.

Updated 5/4/2005: Now at version 3, which fixes a problem with indented lists being highlighted as code blocks. Thanks Swaroop.

Updated 3/21/2005: Now at version 2, which includes better matching for bold and italics.

添加新评论