Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
vim, your markup language of choice, and your browser of choice.
Ruby VimL Perl
Branch: refactor/rewri…

This branch is 44 commits behind wikimatze:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
plugin/hammer.vim
test
.gitignore
LICENSE
README.md

README.md

OVERVIEW

Project Hammer.vim
Homepage https://github.com/robgleeson/hammer.vim
Author Rob Gleeson

DESCRITPION

Hammer is a Vim plugin written in Ruby that can be used to render your favorite
markup language to HTML for viewing in your browser of choice.

It supports a large number of markup languages out of box but it also supports
adding custom renderers for markup languages it does not support.

It has support for multiple different layout (with one styled like the GitHub
README layout). You can use your favorite template language to draw up your own
layouts (ERB, HAML, …). Layouts are passed the rendered HTML as a partial.

SUPPORTED MARKUP

  • .markdown -- gem install redcarpet
  • .textile -- gem install RedCloth
  • .rdoc
  • .org -- gem install org-ruby
  • .creole -- gem install creole
  • .mediawiki -- gem install wikicloth
  • .rst -- easy_install docutils
  • .asciidoc -- brew install asciidoc
  • .pod -- Pod::Simple::HTML comes with Perl >= 5.10. Lower versions should install Pod::Simple from CPAN.
  • .1 -- Requires groff
  • .html
  • .xhtml

INSTALL

You may need to install other dependencies for your markup language (See Above)

$ [sudo] gem install github-markup tilt albino
$ [sudo] sudo easy_install pygments
$ git clone git://github.com/robgleeson/hammer.vim.git
$ cp -R hammer.vim/plugin/* $HOME/.vim/plugin

SCREENSHOTS

LICENSE

See LICENSE.txt

Something went wrong with that request. Please try again.