This vim plugin is based on Dan Harper's Sinantra app to generate Tuts+ Flavored HTML from Markdown files.

Dependencies

  • Vim >= 7.3 with Python support (+python in vim --version)
  • misaka (Python binding for Sundown)

Installation

Install misaka system-wide using pip

sudo pip install misaka

Then install the plugin using pathogen

cd ~/.vim/bundle
git clone https://github.com/gnarula/vim-TutsPlusMarkdown.git

Note:

  • This plugin has only been tested Vim 7.3 on Ubuntu 12.10
  • Use the plugin only when the current buffer has been saved to a file or set hidden is in your vimrc

Configuration

  • Default key-binding is <Leader>m
  • To change the key-binding, simply set g:tpmd_keymap to your preference

Credits

  • Dan Harper for the Sinantra App
  • Developers of misaka