Fold markdown documents by section.
Vim script Ruby
Latest commit 835cb46 Apr 5, 2017 @nelstrom touch readme

README.md

This plugin enables folding by section headings in markdown documents.

Installation

I recommend installing markdown-folding using pathogen or Vundle. Your vimrc file must contain these lines at the very least:

set nocompatible
if has("autocmd")
  filetype plugin indent on
endif

The markdown-folding plugin provides nothing more than a foldexpr for markdown files. If you want syntax highlighting and other niceties, then go and get tpope's vim-markdown plugin.

License

Copyright (c) Drew Neil. Distributed under the same terms as Vim itself. See :help license.