Gangmax Blog

Add Syntax highlight for Markdown in VIM

Here is the method how to add syntac highlight for markdown in VIM, from here.

  1. Download the vim extension from here;

  2. Open it with vim:

1
vim markdown-1.2.2.vba.gz
  1. In vim, run “:source % | quit!”, the extension will be installed;

  2. The generated files are:

1
2
3
4
5
6
7
~/.vim
--ftdetect
--markdown.vim
--snippets
--markdown.snippets
--syntax
--markdown.vim

Done.

Comments